Skip to content

fix(user template): problem with jar files in nativescript plugins#905

Merged
Plamen5kov merged 1 commit into
NativeScript:masterfrom
briandilley:patch-1
Dec 28, 2017
Merged

fix(user template): problem with jar files in nativescript plugins#905
Plamen5kov merged 1 commit into
NativeScript:masterfrom
briandilley:patch-1

Conversation

@briandilley
Copy link
Copy Markdown
Contributor

This fixes a number of currently broken nativescript plugins on android. Basically any nativescript plugin that shipped with it's own jar file for native code is broken until this is made live. In the interim i execute this command before building/running android (but after it is prepared and there is a platforms/android directory):

sed -Ei '' 's/"\$\{dep.directory\}\/platforms\/android"/"\$rootDir\/\${dep.directory}\/platforms\/android"/' platforms/android/app/build.gradle

This fixes a number of currently broken nativescript plugins on android.  Basically any nativescript plugin that shipped with it's own jar file for native code is broken until this is made live.  In the interim i execute this command before building/running android (but after it is prepared and there is a `platforms/android` directory):

```
sed -Ei '' 's/"\$\{dep.directory\}\/platforms\/android"/"\$rootDir\/\${dep.directory}\/platforms\/android"/' platforms/android/app/build.gradle
```
@ns-bot
Copy link
Copy Markdown

ns-bot commented Dec 26, 2017

Can one of the admins verify this patch?

1 similar comment
@ns-bot
Copy link
Copy Markdown

ns-bot commented Dec 26, 2017

Can one of the admins verify this patch?

@adriansuna
Copy link
Copy Markdown

+1

@Plamen5kov Plamen5kov self-requested a review December 28, 2017 11:03
@Plamen5kov Plamen5kov changed the title Fix problem with jar files in nativescript plugins fix(user template): problem with jar files in nativescript plugins Dec 28, 2017
@Plamen5kov Plamen5kov merged commit 6b8cea2 into NativeScript:master Dec 28, 2017
@Plamen5kov
Copy link
Copy Markdown
Contributor

Great work @briandilley

petekanev pushed a commit that referenced this pull request Jan 2, 2018
This fixes a number of currently broken nativescript plugins on android.  Basically any nativescript plugin that shipped with it's own jar file for native code is broken until this is made live.  In the interim i execute this command before building/running android (but after it is prepared and there is a `platforms/android` directory):

```
sed -Ei '' 's/"\$\{dep.directory\}\/platforms\/android"/"\$rootDir\/\${dep.directory}\/platforms\/android"/' platforms/android/app/build.gradle
```
petekanev pushed a commit that referenced this pull request Jan 2, 2018
This fixes a number of currently broken nativescript plugins on android.  Basically any nativescript plugin that shipped with it's own jar file for native code is broken until this is made live.  In the interim i execute this command before building/running android (but after it is prepared and there is a `platforms/android` directory):

```
sed -Ei '' 's/"\$\{dep.directory\}\/platforms\/android"/"\$rootDir\/\${dep.directory}\/platforms\/android"/' platforms/android/app/build.gradle
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants