about ane's question,please help me
use a ANE
| System | : Windows8.1 X64 |
Android IDE : android studion2.3
| AirSdk | : AIR 25 beta (March 29, 2017) |
| AS IDE | : Flash Builder4.7 |
Main-app.xml
<application>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="com.test.gx1.fileprovider"
android:grantUriPermissions="true"
android:exported="false">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_install" />
</provider>
</application>
res/xml/provider_install.xml
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path name="cache-path" path="."/>
</paths>
platform-apk.xml
<platform xmlns="http://ns.adobe.com/air/extension/25.0">
<packagedDependencies>
<packagedDependency>support-v4-19.0.0.jar</packagedDependency>
</packagedDependencies>
</platform>
ANE BUILD SUCCESSFUL,But used,
error:
aapt tool failed:ERROR: input directory '--auto-add-overlay' does not exist
If remove the "support-v4-19.0.0.jar" file in ANE,then ERROR:
java.lang.RuntimeException: Unable to get provider android.support.v4.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.FileProvider" on path: DexPathList
