I face new problems with android exporter. I say new problems because i finally managed to make it work on my previous PC. Problem is I experienced hardware problems so I had to change it. It was an Intel processor, and this one is AMD, i don't know if it matters much.
I have my new computer and I can't build android applications again. When i try to do it, it fails and depends on what API i chose or which version of Android or OpenGPL, error messages are different.
I decided to keep the configuration that generate the less errors.
I installed the last version of Android Studio.
In Fusion, i configured the JDK directory as C:\Program Files\Java\jdk-20
and the Android directory as C:\Users\Alexandre\AppData\Local\Android\Sdk
Package name is com.tableau.myapplication
API version : 29
Minimum Android version : 4.4
Target Android version : 12.0
I chose OpenGL ES 1.1 (i have more errors if i choose a more recent version)
I didn't choose any particular authorisation.
In android studio, i installed :
- Android 12L SV2 with SDK platform 32 and sources for android 12.0
- Android 12.0 (S) with Android SDK platform 31 and sources for android 31
- Android 10.0 (Q) with Android SDK platform 29
- Android 8.0 (Oreo) with Android SDK platform 26 and sources for Android 26
In SDK tools, i checked and installed everything, except
- Android auto desktop head unit emulator
- Google play services
- Intel x86 hardware accelerator
- layout inspector image for API S
When i try to build an apk application, here is the log :
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
> Task :app:javaPreCompileDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:checkDebugAarMetadata
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:processDebugMainManifest FAILED
> Task :app:mergeDebugResources
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @7d7c1e1a
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
8 actionable tasks: 8 executed
Could you help me please? I spent 4 hours trying different configurations already. Last time i managed to do it on my previous computer, i spent days before to be able to find the right configuration. It's really hard to make it work.
Thanks in advance.