android { namespace "com.example.myapp" ...
Programming Tips - package="com.example.myapp" found in source AndroidManifest.xml: C:\AndroidStudioProjects\myapp\app\src\main\AndroidManifest.xml.
Date: 2022oct20
Product: Android Studio
Language: gradle
Q. package="com.example.myapp" found in source AndroidManifest.xml: C:\AndroidStudioProjects\myapp\app\src\main\AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
A.
- Remove package="com.example.myapp" from AndroidManifest.xml
- Add to build.gradle:app