You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what to try, let me know how I can help. I cloned the repository, and am running flutter build apk -v. Then the error is:
e: /home/jeroen/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.6.1/10f354fdb64868baecd67128560c5a0d6312c495/lifecycle-common-2.6.1.jar!/META-INF/lifecycle-common.kotlin_module: Module was
compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
To fix this, I changed ext.kotlin_version to 1.8.10 from 1.6.10.
Note, also gradle was upgraded automatically:
Upgrading build.gradle
Conflict detected between Android Studio Java version and Gradle version, upgrading Gradle version from 6.7 to 7.6.1.
Upgrading gradle-wrapper.properties
The next error is:
[ ] Execution failed for task ':app:processReleaseMainManifest'.
[ ] > 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 @76cbb5e7
Does this have to do with an incompatibility between C++11 and C++17? Note how the android/app/build.gradle file specifies cppFlags '-frtti -fexceptions -std=c++17', which differs from the version on the website linked from the README.md where it specifiecs c++11. Changing this results in a different error though.
The text was updated successfully, but these errors were encountered:
Not sure what to try, let me know how I can help. I cloned the repository, and am running
flutter build apk -v
. Then the error is:To fix this, I changed
ext.kotlin_version
to1.8.10
from1.6.10
.Note, also gradle was upgraded automatically:
The next error is:
To fix, I changed android/gradle.properties to:
Finally, the linker error I can't solve is:
Does this have to do with an incompatibility between C++11 and C++17? Note how the
android/app/build.gradle
file specifiescppFlags '-frtti -fexceptions -std=c++17'
, which differs from the version on the website linked from the README.md where it specifiecs c++11. Changing this results in a different error though.The text was updated successfully, but these errors were encountered: