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
Sample code downloaded and installed with air-tools (example folder)
targetSdkVersion changed to 31
It was built with Air 33.1.1.889 by opening the following configs; JAVA_HOME=[path_to_jdk-11.0.14]
What is the expected output? What do you see instead?
Builds but crashes on phone
Please provide any additional information below.
Logcat crash log:
08-25 19:02:59.667 E/AndroidRuntime(19818): Process: air.com.tuarua.firebaseane.example, PID: 19818
08-25 19:02:59.667 E/AndroidRuntime(19818): java.lang.NoSuchFieldError: No static field common_google_play_services_unknown_issue of type I in class Lcom/google/android/gms/common/R$string; or its superclasses (declaration of 'com.google.android.gms.common.R$string' appears in /data/app/air.com.tuarua.firebaseane.example-7j_6e08G1n2v7z7ro9_bkw==/base.apk)
08-25 19:02:59.667 E/AndroidRuntime(19818): at com.google.android.gms.common.internal.StringResourceValueReader.<init>(com.google.android.gms:play-services-basement@@17.5.0:4)
08-25 19:02:59.667 E/AndroidRuntime(19818): at com.google.firebase.FirebaseOptions.fromResource(FirebaseOptions.java:156)
08-25 19:02:59.667 E/AndroidRuntime(19818): at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:243)
08-25 19:02:59.667 E/AndroidRuntime(19818): at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.content.ContentProvider.attachInfo(ContentProvider.java:1927)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.content.ContentProvider.attachInfo(ContentProvider.java:1902)
08-25 19:02:59.667 E/AndroidRuntime(19818): at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.app.ActivityThread.installProvider(ActivityThread.java:6578)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.app.ActivityThread.installContentProviders(ActivityThread.java:6133)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6043)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.app.ActivityThread.-wrap1(Unknown Source:0)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1764)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.os.Handler.dispatchMessage(Handler.java:105)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.os.Looper.loop(Looper.java:164)
08-25 19:02:59.667 E/AndroidRuntime(19818): at android.app.ActivityThread.main(ActivityThread.java:6944)
08-25 19:02:59.667 E/AndroidRuntime(19818): at java.lang.reflect.Method.invoke(Native Method)
08-25 19:02:59.667 E/AndroidRuntime(19818): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
08-25 19:02:59.667 E/AndroidRuntime(19818): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Does this problem also occur in the Sample Application provided?
Yes
Additional Information:
Apart from these, I can say that the test application was successfully built in Air 3.1.1.135 version and there was no crash. But Google Play Store now requires app bundle and minimum api target must be 31. For this reason, I had to work on the new AIR version. To create an application bundle, a minimum of JDK 11+ is required. For this reason, I updated the JDK path. If the JDK is not changed (using jdk1.8.0_291) there is no crash.
There is a situation where exactly the same problem is experienced, here it says that the problem is caused by the incompatibility of some District Ane files, and it has been resolved by updating it. I guess it might be related to playservices-base. (airsdk/Adobe-Runtime-Support#934 (comment))
I've been searching for AIR issues for hours, but no solution is found. That's why I wanted to write here. I hope a solution can be found.
The text was updated successfully, but these errors were encountered:
Answer the below. DO NOT DELETE!!
Have you read the README and wiki carefully?
What version of the product are you using?
On what which device system?
With which operating system?
From which operating system?
Which IDE are you using?
Which version of AIR are you using?
What steps will reproduce the problem?
JAVA_HOME=[path_to_jdk-11.0.14]
What is the expected output? What do you see instead?
Please provide any additional information below.
Logcat crash log:
Additional Information:
Apart from these, I can say that the test application was successfully built in Air 3.1.1.135 version and there was no crash. But Google Play Store now requires app bundle and minimum api target must be 31. For this reason, I had to work on the new AIR version. To create an application bundle, a minimum of JDK 11+ is required. For this reason, I updated the JDK path. If the JDK is not changed (using jdk1.8.0_291) there is no crash.
There is a situation where exactly the same problem is experienced, here it says that the problem is caused by the incompatibility of some District Ane files, and it has been resolved by updating it. I guess it might be related to playservices-base. (airsdk/Adobe-Runtime-Support#934 (comment))
I've been searching for AIR issues for hours, but no solution is found. That's why I wanted to write here. I hope a solution can be found.
The text was updated successfully, but these errors were encountered: