Issue Currently my app has two launcher icons on fresh install: <activity android:name="…MainActivity" android:exported="true" …> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" /> </activity> <activity android:name="…ActivityStartRecordingShortcut" android:exported="true" …> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category
Continue readingTag: android-manifest
How to use kotlin to define an Android Application class?
Issue My code: object MyApplication : Application() { override fun onCreate() { super.onCreate() initOkHttp() } } when I declare MyApplication in AndroidManifest, it says has no default constructor. Can anybody help? Solution The solution ais to use the class keyword
Continue readingAndroidManifest.xml:3: error: resource mipmap/launcher_icon (aka com.xyz.dbdb:mipmap/launcher_icon) not found
Issue In the process of generating a .aab file for Google Play Store am trying to run the following command as a part of the process: aapt2.exe link –proto-format -o base.zip -I android.jar –manifest decompile_apk\AndroidManifest.xml And at the end of
Continue readingSentry Auto-init does not work because it is disabled in the library being used
Issue I use Sentry configuration via AndroidManifest.xml. In the manifest I have these lines: <meta-data android:name="io.sentry.dsn" android:value="my_value" /> <meta-data android:name="io.sentry.traces.user-interaction.enable" android:value="true" /> <meta-data android:name="io.sentry.traces.sample-rate" android:value="1.0" /> <meta-data android:name="io.sentry.traces.profiling.sample-rate" android:value="1.0" /> But Sentry console is empty and i see this in
Continue readingHow to use NotificationListenerService in Android 14?
Issue How I can be valid to use NotificationListenerService in Android 14? (API 34) This application is going to be run on Android 14 or above only, so it does not consider backward compatibility in order to run on older
Continue readingInternal Deep Linking is not working with Huawei phones?
Issue In my application, I have an activity for internal deep linking. It is working as expected for Google Play Services supported phones but not for HMS supported phones. It is giving me an error for Huawei phones as follows
Continue readingAndroid theme won't apply to activity
Issue When I set the background color in the layout everything works perfectly. However, when I try to set the it from a theme it won’t work. It seems I’m doing something wrong. Here is the code. Manifest: <activity android:name=”com.example.somma.MainActivity”
Continue readingWhat actually AndroidManifest <queries/> do? Why can I query packageInfo without define <queries/> tag?
Issue I have a packageName list from server’s response, And I want to show all applications user installed also in this packageNameList. Then I write this piece of code: fun function() { val packageNameList: List<String> = ; // get packageNameList
Continue readingAfter i created apk my android app doesn't fetch any data from api
Issue When i run my app on my emulator or my physical device it works fine but when i create an apk and send to someone elses device it doesnt work. That’s how my build.gradle (app) file looks. android {
Continue readingBuild Failed, Missing 'package' key attribute
Issue I’m trying to generate signed apk and I keep getting this error. I searched on Google for the error but haven’t come up with anything solid. Any help would be great. Thank you. Task :app:processReleaseManifest FAILED [com.facebook.android:audience-network-sdk:6.4.0] /Users/xxxx/.gradle/caches/transforms-2/files-2.1/1208b0b00589b6f8b9220695fa10ec7b/audience-network-sdk-6.4.0/AndroidManifest.xml:12:9-55 Error:
Continue reading