Home > other >  Package is not specified in the manifest file
Package is not specified in the manifest file

Time:05-12

While trying to create and Extract string from the layout file it is showing the alert dialog that Package is not specified in the manifest file. It is happening from while I had updated my studio to the newest version(chimpunk 2021.2.1) and the newest gradle(7.2). any help will be appretiated.

CodePudding user response:

I had the same problem. Open AndroidManifest.xml and add your package name back.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
  package="YOUR_PACKAGE_NAME"> <!--This is what I added-->

  • Related