skip to Main Content

Android Studio – Manifest merger failed with multiple errors, see logs after migrating the project to android 12

android:exported needs to be explicitly specified for element <activity#com.razorpay.CheckoutActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. C:UsersnarayOneDriveDesktopIndiahaatIndiahaatappsrcmainAndroidManifest.xml:12:9-16:20 Error: android:exported…

VIEW QUESTION

Android Studio – The code is constantly crashing (android studio, java language)

Errors: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.myapplication, PID: 8501 android.content.res.Resources$NotFoundException: Resource ID #0x7f070058 at android.content.res.Resources.getValue(Resources.java:1266) at androidx.appcompat.widget.ResourceManagerInternal.loadDrawableFromDelegates(ResourceManagerInternal.java:255) at androidx.appcompat.widget.ResourceManagerInternal.getDrawable(ResourceManagerInternal.java:142) at androidx.appcompat.widget.ResourceManagerInternal.getDrawable(ResourceManagerInternal.java:135) at androidx.appcompat.content.res.AppCompatResources.getDrawable(AppCompatResources.java:104) at androidx.appcompat.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:505) at androidx.appcompat.view.menu.ListMenuItemView.initialize(ListMenuItemView.java:131) at androidx.appcompat.view.menu.MenuAdapter.getView(MenuAdapter.java:109) at androidx.appcompat.view.menu.MenuPopup.measureIndividualMenuWidth(MenuPopup.java:161) at androidx.appcompat.view.menu.StandardMenuPopup.tryShow(StandardMenuPopup.java:174) at androidx.appcompat.view.menu.StandardMenuPopup.show(StandardMenuPopup.java:208) at androidx.appcompat.view.menu.MenuPopupHelper.showPopup(MenuPopupHelper.java:296) at androidx.appcompat.view.menu.MenuPopupHelper.tryShow(MenuPopupHelper.java:182) at…

VIEW QUESTION

Android Studio – Error: have you declared this activity in your AndroidManifest.xml? when trying to intent a class

Here's my code for clicking the button from my class showInforActivity: btnRegister.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(showInfoActivity.this, InformationFragment.class); startActivity(intent); } }); Whenever I click the button I got error Unable to find…

VIEW QUESTION
Back To Top
Search