bonabaa opened a new issue #1346:
URL: https://github.com/apache/cordova-android/issues/1346
<!--
Please have a look at the issue templates you get when you click "New issue"
in the GitHub UI.
We very much prefer issues created by using one of these templates.
-->
### Issue Type
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] Bug Report
- [ ] Feature Request
- [ ] Support Question
## Description
for android platform of version 9.0.0 & 9.1.0
I make a native code and complie a so file int o the plugin (xxx) to invoke
by the cordova develop inovke.
1 . for xxx cordova plugin, use the cordova doc , to edit the plugin.xml ,
to copy the SOs into the DIR,when exe 'cordova plugin add xxx' command, but
the files will locate on the /app/libs of project root DIR. why can not move
these files into the DIR app/src/main/jniLibs/?
<lib-file src="src/android/armeabi-v7a/libCdaCore.so"
target-dir="app/src/main/jniLibs/armeabi-v7a" arch="device" />
<lib-file src="src/android/arm64-v8a/libCdaCore.so"
target-dir="app/src/main/jniLibs/arm64-v8a" arch="device" />
2. add the xxx plugin( which contains some SOs file of native code) into
name testyy project, add no problem,when complie the project testyy, the
android studio tell me 'No version of NDK matched the requested version
21.0.6113669', then I edited the android studio setting of androd gradle
plugin '4.0.0' to 4.1.3, it is work well(not reqiure to install NDK ) . I
think these some bugs to support native cordova plugin. my suggestion update
androd gradle plugin from 4.0.0 to 4.1.3 of [email protected] , [email protected] .
because the old version like [email protected] was not problem. please check it .
3. ## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
## Checklist
<!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
- [ ] I searched for already existing GitHub issues about this
- [ ] I updated all Cordova tooling to their most recent version
- [ ] I included all the necessary information above

--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]