apk

Cannot build Android Release Build on Flash Builder 4.7 due to “dx tool failed”

ⅰ亾dé卋堺 提交于 2019-12-11 15:09:29
问题 a few days ago I updated Oracle Java to 1.7.x on my Mac (OS X 10.8) Since then, I'm not able to compile any android release builds from Adobe Flash Builder 4.7 anymore. The error I get is: eclipse.buildId=M20110909-1335 java.version=1.6.0_65 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/slim_tim/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/slim_tim/

Android APK and Debug install multiple versions of the app

倾然丶 夕夏残阳落幕 提交于 2019-12-11 14:57:41
问题 When I'm debugging or even in a final APK release, app installs 5 different versions of the app. They appear in the app drawer as 5 copies of the the same app but when I open one of them, it a old version. One of the installed apps are current. When I uninstall one of these copies all of them uninstall at once. 回答1: You need to take care of Android Manifest file. You need to put following code to only startup activity not on every activity. <intent-filter> <action android:name="android.intent

How to add resource file to Android apk after compilation and build of apk?

大憨熊 提交于 2019-12-11 12:36:33
问题 Is it possible to add a .class java-class file or if that's not possible a .txt text-file to an APK after it has been built and without source code? We compile and build an Android application as apk file. And now the customer without needing the development tools has to be able to add at least a custom txt text-file to the APK before installing it on his devices. The goal is that we write a program that will use the original apk and will add the text file to the apk, so the customer does not

Error with Uploading APK to Google Play

淺唱寂寞╮ 提交于 2019-12-11 12:19:18
问题 Upload failed: Your APK cannot be analyzed using 'aapt dump badging'. Error output: to run aapt dump badging: W/ResourceType(12713): Bad XML block: header size 28024 or total size 1702240364 is larger than data size 3783 ERROR: AndroidManifest.xml is corrupt This is the error I am getting when I attempt to upload an APK onto Google Play and am completely unsure of what to do. I have looked at other posts but am unable to fix my problem. Any help is appreciated!! -- Moksh 回答1: Is your apk run

Is there a way to make Android Studio not copy .DS_Store files into APK?

余生长醉 提交于 2019-12-11 11:56:16
问题 When I build the APK, Android Studio copies these redundant OSX file system files ".DS_Store". Is there a way to filter them from the APK bundle? I've tried adding !.DS_Store into the Compiler/Resource Patterns fields but it didn't help. 回答1: Try to add the .DS_Store to the Compiler > Excludes rather than the Resource Patterns field. 来源: https://stackoverflow.com/questions/17776666/is-there-a-way-to-make-android-studio-not-copy-ds-store-files-into-apk

Signing apk with maven-jarsigner-plugin

牧云@^-^@ 提交于 2019-12-11 11:03:45
问题 I followed this tutorial and configured maven to sign my apk. Here is a part of my pom.xml <!-- Maven plugin which is responsible for signing apks --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jarsigner-plugin</artifactId> <executions> <execution> <id>signing</id> <goals> <goal>sign</goal> <goal>verify</goal> </goals> <phase>package</phase> <inherited>true</inherited> <configuration> <removeExistingSignatures>true</removeExistingSignatures> <archiveDirectory/>

react native - webview does not render local html when building release apk

ⅰ亾dé卋堺 提交于 2019-12-11 10:35:25
问题 I have rendering local html in webview for my application, it was going great on both iOS and Android. It's an html with svg tags embedded. But as soon as I generated an apk on Android and tried running is locally on my phone, it just doesn't render. Works well on iOS even when .ipa file is exported const VECTOR_BODY_HTML = require('../custom_views/vector-body.html'); ... <WebView ref={component => this.mWebView = component} automaticallyAdjustContentInsets = {false} contentInset={{top:0 ,

Proguard error preventing APK from building with “returned error with error code 1”

拜拜、爱过 提交于 2019-12-11 10:27:37
问题 The issue is when trying to build a signed APK, it errors at the last step with this: [2013-06-20 11:39:34 - MyApp] Proguard returned with error code 1. See console [2013-06-20 11:39:34 - MyApp] Unable to access jarfile /Users/rob/Android I am using the latest Eclipse ADT v22.0.1-685705 (just installed this morning) and it seems like this issue has been around for at least a month now according to Google. 回答1: In order to fix this, Change: java -jar $PROGUARD_HOME/lib/proguard.jar "$@" To:

How do I change my package name after already obtaining a Google Maps API key?

ε祈祈猫儿з 提交于 2019-12-11 09:15:29
问题 I was trying to upload my APK on the Market for beta testing and realised that my package name started with com.example which isn't allowed. My app is ready to beta, everything is in place but my package name is not allowed. I've tried changing my package name in Android Tools but my problem is with Google Maps since my app is already signed up with com.example. I can get my app running but Google Maps fails to load. How do I change my package name after I've signed up with a Google Maps API

Install application wrapper script wrap.sh

旧城冷巷雨未停 提交于 2019-12-11 08:42:07
问题 Android offers a really powerful way to control application process start - it is so called wrapper script. It is a simple shell script named wrap.sh that should be placed in the app installation lib/ directory (one that contains native libraries, if any): #!/system/bin/sh my_wrapper_cmd $@ If an app has such script the system won't fork zygote to create hosting process for the application. Instead once user tries to launch app - system invokes that script to start brand new app_process with