aapt

Android - Failed to run aapt dump badging: 'android:icon' attribute: attribute value reference does not exist

寵の児 提交于 2021-01-28 14:20:49
问题 I have been trying to upload my APK to Play Store, but it keeps showing me this error: Failed to run aapt dump badging: AndroidManifest.xml:31: error: ERROR getting 'android:icon' attribute: attribute value reference does not exist It is a very simple app, here is the Manifest: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="mx.com.hearwego.mexicocityaudioguideapp"> <uses-permission android:name="android.permission.ACCESS

Android - Failed to run aapt dump badging: 'android:icon' attribute: attribute value reference does not exist

风流意气都作罢 提交于 2021-01-28 14:15:30
问题 I have been trying to upload my APK to Play Store, but it keeps showing me this error: Failed to run aapt dump badging: AndroidManifest.xml:31: error: ERROR getting 'android:icon' attribute: attribute value reference does not exist It is a very simple app, here is the Manifest: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="mx.com.hearwego.mexicocityaudioguideapp"> <uses-permission android:name="android.permission.ACCESS

Android resource linking failed AAPT: unknown option '--no-proguard-location-reference'

我们两清 提交于 2020-08-05 04:22:11
问题 Getting issue when trying to build apk. Android studio version - 4.0 (recently updated AS) This process shows the error in build - :app:processDebugResources Android resource linking failed AAPT: unknown option '--no-proguard-location-reference'. aapt2 link [options] -o arg --manifest arg files... Options: -o arg Output path. --manifest arg Path to the Android manifest to build. -I arg Adds an Android APK to link against. -A arg An assets directory to include in the APK Trying to build apk by

Qt for Android Flutter - AAPT: error: resource android:attr/dialogCornerRadius not found.

*爱你&永不变心* 提交于 2020-03-06 17:28:34
Launching lib\main.dart on Nokia X6 in debug mode… FAILURE: Build failed with an exception. What went wrong: Execution failed for task ‘:app:processDebugResources’. Android resource linking failed Output: E:\Flutter Projects\intro_to_flutter\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found. E:\Flutter Projects\intro_to_flutter\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found. E:\Flutter

移动端测试 - appium for windows

拥有回忆 提交于 2020-02-22 18:29:26
由 扯淡篇 我们知道了关于appium在windows下的出装顺序: Python环境:Python3.6.6, 或者别的3.x版本。你可以在下面的百度云链接中下载,推荐Python3.5以上,为了方便编写代码,还需要安装PyCharm IDE(可选,也可以vs code)。 node.js。 Java环境:要求是java jdk 1.8及以上。 appium。 Android SDK。 手机/模拟器:可以是夜神模拟器或者是其他的。 Appium-Python-Client。 我的环境是: win 10 专业版 Java jdk1.8 Python3.6.6 PyCharm2018.1 小米手机5S/夜神模拟器6.0.7.5 appium:1.7 appium for win 全家桶百度云链接: 链接: https://pan.baidu.com/s/1q7uEdv9YHxG-LRzJ20I3cQ 提取码:iq52 开始安装吧。 Python for Windows 参考: https://www.cnblogs.com/Neeo/p/10864123.html#python Node.js for Windows 参考: https://www.cnblogs.com/Neeo/articles/11637320.html JAVA JDK for Windows 参考:

Unable to build APK file on Jenkins (react native)

為{幸葍}努か 提交于 2020-01-25 09:09:12
问题 I'm trying to integrate my react native project with Jenkins and i have successfully integrate my repository. Unit tests are executing fine and gives positive result by using npm test but when i tried to build an apk file by using npm run build-android-dev_windows it gives following error. Can someone help on this? :app:mergeDebugResourcesAAPT err(Facade for 2089038429) : No Delegate set : lost message:\\?\C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-1\files-1.1

aapt 命令提示No resource found that matches the given name

Deadly 提交于 2020-01-17 02:29:03
今天研究aapt打包资源,在aapt源码里加了些log,但aapt一直打包失败, 错误的打包命令: aapt p -f -S ./res -M ./AndroidManifest.xml -I /home/lishicheng/source/project/out/target/product/project/system/framework/framework-res.apk -F ./DeskClock.apk 错误提示: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar' 原因Theme.AppCompat.Light.NoActionBar是v7兼容包的资源,需要把v7兼容包下的res添加进路径,一起参与打包。 正确的命令: aapt p -f -S ./res -S /home/lishicheng/source/project/frameworks/support/v7/appcompat/res -S /home/lishicheng/source/project/frameworks/support/v7/gridlayout/res -S /home/lishicheng/source/project/frameworks/opt

Manually (aapt) add native library .so to apk

▼魔方 西西 提交于 2020-01-16 00:54:34
问题 For multiple reasons I'm building my project manually (more or less following these steps http://geosoft.no/development/android.html), whithout using ant. My projects uses the NDK and builds a .so library. With Eclipse: When I use Eclipse to build my project, everything works: I drag&drop libMyNativeLib.so in the libs/armeabi directory and when I call loadLibrary(MyNativeLib) it works fine: I can call native method from my Java code. Manually: Now I want to build manually my .apk . Everything

AAPT2 gradle issue in android studio 3.0 beta4

我只是一个虾纸丫 提交于 2020-01-15 08:12:07
问题 Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details We have already added android.enableAapt2=false in gradle.properties file 回答1: For me, there was no need to add android.enableAapt2=false to my gradle.properties . The solution for me was to make sure that in my gradle build file my compileSdkVersion is set to 26, buildToolsVersion is set to 26.0.2 and targetSdkVersion is set to 26