cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13646) Unable to compile native code (android.useDeprecated.Ndk not supported anymore)
Date Mon, 08 Jan 2018 23:20:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317319#comment-16317319
] 

ASF GitHub Bot commented on CB-13646:
-------------------------------------

codecov-io commented on issue #427: CB-13646: End of an era.  Using the deprecated NDK by
default breaks …
URL: https://github.com/apache/cordova-android/pull/427#issuecomment-356127991
 
 
   # [Codecov](https://codecov.io/gh/apache/cordova-android/pull/427?src=pr&el=h1) Report
   > Merging [#427](https://codecov.io/gh/apache/cordova-android/pull/427?src=pr&el=desc)
into [master](https://codecov.io/gh/apache/cordova-android/commit/fcf705e00749f39b93223eacb31b2c2a2e120d1a?src=pr&el=desc)
will **not change** coverage.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/cordova-android/pull/427/graphs/tree.svg?width=650&height=150&src=pr&token=q14nMf6C5a)](https://codecov.io/gh/apache/cordova-android/pull/427?src=pr&el=tree)
   
   ```diff
   @@           Coverage Diff           @@
   ##           master     #427   +/-   ##
   =======================================
     Coverage   43.95%   43.95%           
   =======================================
     Files          17       17           
     Lines        1711     1711           
     Branches      318      318           
   =======================================
     Hits          752      752           
     Misses        959      959
   ```
   
   
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/cordova-android/pull/427?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/cordova-android/pull/427?src=pr&el=footer).
Last update [fcf705e...3a69239](https://codecov.io/gh/apache/cordova-android/pull/427?src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Unable to compile native code (android.useDeprecated.Ndk not supported anymore)
> -------------------------------------------------------------------------------
>
>                 Key: CB-13646
>                 URL: https://issues.apache.org/jira/browse/CB-13646
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: 7.0.0
>            Reporter: Michael Goffioul
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: cordova-next
>
> A cordova project that contains native/jni code fails to compile, because android.useDeprecatedNdk
is not supported anymore.
> Steps to reproduce:
> 1) create a new cordova project
> 2) add android platform
> 3) mkdir platforms/android/app/src/main/jni
> 4) touch platforms/android/app/src/main/jni/Android.mk
> 5) cordova build android
> It fails with the following error:
> {code}
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':app:compileDebugNdk'.
> > Error: Flag android.useDeprecatedNdk is no longer supported and will be removed
in the next version of Android Studio.  Please switch to a supported build system.
>   Consider using CMake or ndk-build integration. For more information, go to:
>    https://d.android.com/r/studio-ui/add-native-code.html#ndkCompile
>    To get started, you can use the sample ndk-build script the Android
>    plugin generated for you at: .../testnative/platforms/android/app/build/intermediates/ndk/debug/Android.mk
>   Alternatively, you can use the experimental plugin:
>    https://developer.android.com/r/tools/experimental-plugin.html
>   To continue using the deprecated NDK compile for another 60 days, set 
>   android.deprecatedNdkCompileLease=1512654767567 in gradle.properties
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message