Skip to content

Conversation

@briandilley
Copy link
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

ns-bot commented Dec 26, 2017

Can one of the admins verify this patch?

1 similar comment
@ns-bot
Copy link

ns-bot commented Dec 26, 2017

Can one of the admins verify this patch?

@adriansuna
Copy link

+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
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