![]() ![]() ![]() After the change, don't forget to rebuild the project in Android Studio or if you're using cordova, use cordova prepare and then cordova build. This solution seems to work for most of the developers, besides it works in Cordova and Xamarin too. That means that the icon of your app, the resource indeed doesn't exists, simply because in recent versions of an Android Project, it will search for it using Solution 1Īs mentioned previously, you need to replace in your AndroidManifest.xml () all the parameters with Try to rebuild again, if the problem persists, which error will be thrown by the console in the manifest located in the folder /android/build/intermediates/manifests/full/debug/AndroidManifest.xml, then try to modify all the AndroidManifest.xml files located in your project.Ĭhange, for example in /debug/AndroidManifest.xml : Chrome for Android stores its icons in these folders instead of the more normal res/drawable folders. The error itself and the explanation is pretty simple: since Android 4.3 we can now make use of the res/mipmap folders to store "mipmap" images. It seems to happen too with Cordova Projects that have an old version of gradle, when you remove the old android platform using cordova platform remove android and then you reinstall using cordova platform add android. ![]() ![]() This error seems to be caused, when you import an old version of a project into Android Studio, then Android Studio will update the gradle version to its latest version causing the error. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |