My app was crash after adding the following code into manifest, it doesn't return any log. It crash before start up the app.
The weird thing is, it works in another project with 95% similar functions and with different package name. I have tried many way to debug and test, but still cannot resolve. Appreciate if you could let me know what is the problem that I have.
The weird thing is, it works in another project with 95% similar functions and with different package name. I have tried many way to debug and test, but still cannot resolve. Appreciate if you could let me know what is the problem that I have.
B4X:
AddManifestText(<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
)
AddApplicationText(
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="$PACKAGE$.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
)
CreateResource(xml, provider_paths,
<files-path name="name" path="shared" />
)