You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/14 15:54:03 UTC

[GitHub] [cordova-android] helzgate edited a comment on issue #834: Gradle Sync Issues: "NdkCompile is no longer supported"

helzgate edited a comment on issue #834: Gradle Sync Issues: "NdkCompile is no longer supported"
URL: https://github.com/apache/cordova-android/issues/834#issuecomment-553949985
 
 
   This may not be 100% relevant to original post but I am sharing some important findings:
   
   I ran the following commands and nothing else:
   ```
   cordova create deleteme com.delete.me deleteme
   cd deleteme
   cordova platform add android
   ```
   I search the deleteme folder for all `GradlePropertiesParser.js` files and it finds 2 (and one test file)
   
   They both contain the following:
   ```
   // allow NDK to be used - required by Gradle 1.5 plugin
               'android.useDeprecatedNdk': 'true'
   ```
   
   I'm using:
   ```
   cordova-android@8.1.0
   9.0.0 (cordova-lib@9.0.1)
   ```
   
   `cordova build` runs fine with no errors.
   
   If I delete the above project and recreate it from scratch using the same steps them open it in Android Studio I get the following message:
   
   ![clickok](https://user-images.githubusercontent.com/7506982/68872323-76381e00-06c3-11ea-9b9d-7170daeceb8e.png)
   
   I click "OK".
   
   I can build the apk with no errors.
   
   But, if I update the Gradle plugin using the following prompt:
   
   ![plugin2](https://user-images.githubusercontent.com/7506982/68872623-f494c000-06c3-11ea-9ca6-7049e63f69e6.png)
   
   
   I now get the Gradle sync error mentioned in this post.
   
   Here is what Android Studio shows for the project gradle versions:
   
   ![projectStructure](https://user-images.githubusercontent.com/7506982/68872991-84d30500-06c4-11ea-8d85-be23c34283b2.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org