google-ar / codelab-geospatial

Apache License 2.0
34 stars 34 forks source link

app crashes on launch #19

Open ahmedjmm opened 1 year ago

ahmedjmm commented 1 year ago

every time when starting the app I get this error even when I follow the instructions in this codelab https://developers.google.com/ar/develop/java/geospatial/codelab#1

`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 @3e3106e0Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @3e3106e0

`

marlo22 commented 1 year ago

Same here, I want to try the example but when I'm building the app I get this error. I'm not an expert in mobile development so I don't have any idea how to resolve this issue. Can anyone help? :pray:

marlo22 commented 1 year ago

@ahmedjmm, I've found a potential way to omit this problem - just get an older version of Android Studio. I've tried on Android Studio Bumblebee | 2021.1.1 January 25, 2022 and the example is working. :slightly_smiling_face: Of course this is not the solution to the problem, but if you want to run this example and check how it looks like it's completely enough. :wink:

You can find archive versions of Android Studio here: https://developer.android.com/studio/archive