Ionic build android Error (processArmv7DebugResources) - android

I have install crosswalk with ionic. However, when I try run "ionic build android" I'm getting the following error:
:processArmv7DebugResourcesE:\Trabalhos\Aplicativos\Mars Curiosity\structure\platforms\android\build\intermediates\manifests\full\armv7\debug\AndroidManifest.xml:26:23-37 : AAPT: No resource found that matches the given name (at 'icon' with value '#drawable/icon').
It seems that drawable resources is not present.
Any Ideas?
Thanks

I realy don't found out what caused this. I have created a new blanck project e replace all files withing the www folder, and all worked fine.

Related

How can I resolve the Android Studio Build Output error

Trying to build the app but have got the error: The error Confugure image asset1
Confugure image asset2
Confugure image asset3
ERROR:C:\Users\Alex\AndroidStudioProjects\Lm2\app\src\main\res\mipmap-anydpi-v26\ic_launcher_round.xml:3: AAPT: error: resource mipmap/ic_launcher_background (aka com.example.lm2:mipmap/ic_launcher_background) not found.
How can I resolve this?
I hope you have
put your launcher icons into the mipmap folder where they should always go.
added your adaptive icon to the app’s manifest.xml for “android:icon” (android:roundIcon) attribute
.
Fist hand try: Clean your project and Rebuild
Probable Issue reason: Malformed XML:
Solution:
Check if you have anything duplicated by mistake in your XML
Try Analyze > Inspect Code it will redirect you to the exact error.

Getting Error on Building APK - Android Studio

I am a newbie and trying to build an APK in android studio. Getting the following error
Error : Android Resource Packaging:[Project Name] D:\react-app\Android\App
Error : Android Resource Packaging:[Project Name] src\main\AndroidManifest.xml:45: error:Error:no resource found that matches the given name (at 'label' with value '#string/App_name).
There are approx 9 errors showing.
Please help to resolve the problem.
The possible answer to your mentioned error is make sure
string.xml file under
android/app/src/main/res/values/strings.xml
should look like this
<resources>
<string name="app_name">YOUR_APP_NAME</string>
</resources>

ionic2 build apk #mipmap/icon error

i am able to build the apk in android#6.1.2, but when i want do ionic add platform android#4.4.2and run ionic build android the console outputs
C:\Users\
...\platforms\android\build\intermediates\res\armv7\debug\xml\authenticator.xml:2:
error: Error: No resource found that matches the given name (at 'icon'
with value '#mipmap/icon').
C:\Users\
...\platforms\android\build\intermediates\res\armv7\debug\xml\authenticator.xml:2:
error: Error: No resource found that matches the given name (at
'smallIcon' with value '#mipmap/icon').
no idea how to fix it and googling/searching stackoverflow didn't help me...
Check icon's are available or not in mipmap folder, and also check config.xml file.
This is an error as a result of differences in the name in the AndroidManifest.xml
To resolve this
Go to Android
Click on app
Click on src
Click on main
Click on res
Open AndroidManifest.xml
Edit the android:icon="#mipmap/ic_launcher"> to the png file name for your icon
For example:
if your icon file name is potato.png,
you will edit the android icon to
android:icon="#mipmap/potato">
Go to File and click Save All
Run the app again

Xamarin - No resource found that matches the given name

I have many error (71) in my new project (Android - Xamarin).
I created new project and add my last layouts and xmls
When I tried to build this application it show me 71 error about drawable.
No resource found that matches the given name (at...
I sent this project to my friend, he built and debug and it doesn't have error.
What should I do with this problem?

No resource found that matches the given name in Manifest

I'm getting this error when trying to build the application. The xml editor did not highlight both error as missing. As the file/string are already there.
android-apt-compiler: [XXX]
D:\private\xxx\android\XXX\src\AndroidManifest.xml:35: error: Error:
No resource found that matches the given name (at 'icon' with value
'#drawable/ic_launcher').
android-apt-compiler: [XXX]
D:\private\xxx\android\XXX\src\AndroidManifest.xml:233: error: Error:
No resource found that matches the given name (at 'value' with value
'#string/FacebookAppID').
The project structure is like this:
ProjectFolder
|-external_lib
|-src
|-src (actual source)
|-res
|-...
I can confirm that both file is already in the project. As I use IntelliJ, I could just Ctrl + click then it open those files for me. However, I'm still getting this error.
I checked with both Google and SO. Most of the issues were about not having the files or storing in different folders. Which I can ensure that it is in the right place alongside hundred other files and strings.
Another issue is about % sign in strings.xml. I tried searching for "%" and nothing is found in the file.
Shutting down IDE and reopen it doesn't help, nor rebuilding the project. How could I get the app to build?
Look for any error message during the resource compilation.
Sometimes, if you have resource filenames containing illegal characters (such as underscores or uppercase letters), the whole process fails almost silently, and the IDE can't find any resources anymore.
I'm not sure that it's what is happening in your case, but I did eventually encounter such issues...

Categories

Resources