I’ve been scouring forums, blogs, etc for any answers to this, but so far I’ve found no solutions/workarounds.
I have a few apps that are working fine, they use several firebase features including firebase-messaging. No bugs to speak of, users are able to play the game just fine.
I’d really like to be able to open up my .apk in AndroidStudio and record a firebase robo-test, however I can’t seem to get past this issue.
Missing debug symbols
To debug the APK, native libraries (*.so files) must have debug symbols.
The following libraries are missing debug symbols:
* libFirebaseCppAnalytics.so
* libFirebaseCppApp-6_15_2.so
* libFirebaseCppAuth.so
* libFirebaseCppCrashlytics.so
* libFirebaseCppDatabase.so
* libFirebaseCppFunctions.so
* libFirebaseCppInstanceId.so
* libFirebaseCppMessaging.so
* libFirebaseCppRemoteConfig.so
* libil2cpp.so
* libmain.so
* libnative-googlesignin.so
* libunity.so
Whenever I attempt to do just about anything in AndroidStudio (such as try to launch the apk for a robo test recording) I get hit with a “Default Activity not found” error, which I am fairly certain is related to the missing debug symbols since I have defined the default activity in my manifest:
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
In my attempts to rectify this issue, I’ve tried:
-
Changing the activity from “com.google.firebase.MessagingUnityPlayerActivity” to
“com.unity3d.player.UnityPlayerActivity” -
Pointing unity to the latest gradle (6.6.1 instead of Unity’s prebuilt 5.1.1 included in Unity 2019.4.4 which is the version I’m using
-
Pointing Android Studio to the latest gradle, pointing it to Unity’s version, etc
-
I’ve disabled proguard
-
Unchecked ‘strip engine code’
-
Development build on/off when building
-
Downgraded Android Studio from latest (4.0.1) to an earlier version (3.5.1)
-
Praying (although this may not be configured correctly as I am an atheist)
-
Changing AndroidStudio launch options from ‘Default Activity’ to ‘None’, also ‘Specified Activity’ gives me no options in the dropdown (likely because the missing debug symbols are keeping the project form being parsed correctly)
If anyone has run into this issue before, or knows of any solutions/workarounds I haven’t tried-- I’d very much appreciate anything that might help point me in the right direction.
I have seen some solutions about manually attaching an external library file for each .so file, but I can’t seem to find any information on where these debug symbols are contained. (My cpp folder in AndroidStudio has the problematic .so files and nothing else)
Thanks in advance!