apk

“Generate Signed APK” option is not display in android studio Build menu

爱⌒轻易说出口 提交于 2019-12-24 01:09:16
问题 "Generate Signed APK" option is not display in android studio Build menu, What is the problem or something I missed to install?? Thanks When I click "Build APK(s)" , the android studio is no response 回答1: Firstly check with clean > rebuild project and see that 'app' is not having "red X" icon. Check your gradle that you had not configured it with release config yet. There must be a signing config in gradle file 回答2: For me, clicking File > Sync Project with Gradle File System solved it for me

Raw assets duplicated when building apk

不问归期 提交于 2019-12-24 01:00:05
问题 When building my application APK, the final APK is twice as big as my Eclipse project folder. I was perplexed as to why this was happening, I'd like to keep my app as small as possible. I've recently had to recover my application source by extracting from a released APK, I found out why the APK is so big, I use about 30 audio samples, saved as ogg files in /res/raw/. When the APK is built, an additional /raw folder is created in the root of the APK, with a duplicate of all of my ogg files. Is

react native android release apk can't receive data from Internet

大憨熊 提交于 2019-12-24 00:55:54
问题 I developed an app with React native and install debug apk in my device and all of the things are ok. but when install release version in my device, it can't get data from API. what's wrong? 回答1: In my case, I call api with non secure (http instead of https). So api work well for debug environment, but not work for release. You can add this line android:usesCleartextTraffic="true" to AndroidManifest.xml like that <uses-permission android:name="android.permission.INTERNET" /> <application ...

Titanium 3.1.0 - Emulator process exited with code 1 - Can't compile APK

霸气de小男生 提交于 2019-12-24 00:45:36
问题 I have this issue with Titanium Studio. I can't compile my project for Android. I try to Run or Debug to project, but I've got this message: Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.1.0.GA Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved. [INFO] : Running emulator process: python "C:\Users\Dev\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py" "emulator" "MyApp" "E:\Developpement\Mobile\SDKs\Android" "E:\Developpement\Mobile

Android parse error Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED (because of Capital letters in package name)

时光总嘲笑我的痴心妄想 提交于 2019-12-24 00:43:47
问题 This question is linked with my earlier question. please see below link. Android - Change package name of live application So now i am buiding my apk with older package name i.e.,'AnantApps.Moodlytics'. I also have made all required changes for that. but after that when i try to run it on device, it gives me a console error like this. [2013-10-22 11:26:03 - Moodlytics] Android Launch! [2013-10-22 11:26:03 - Moodlytics] adb is running normally. [2013-10-22 11:26:03 - Moodlytics] Performing

apk big size with ionic 4 build

北慕城南 提交于 2019-12-23 21:04:16
问题 Before I got the output, it was 9 megabytes. but now it is 17.8MB. I opened apk in android studio with Analyze apk. assets folder is very big and there are several numbers from each file. ionic info: Ionic: ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 4.0.0-rc.2 @angular-devkit/build-angular : 0.12.4 @angular-devkit/schematics : 7.1.4 @angular/cli : 7.1.4 @ionic/angular-toolkit : 1.4.0 Cordova: cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1

aapt dump badging fails “dump failed because assets could not be loaded”

偶尔善良 提交于 2019-12-23 21:01:19
问题 When I run the aapt dump badging on my apk I get the below error W/asset (17217): Asset path Users/username/Downloads/appname.apk is neither a directory nor file (type=1). ERROR: dump failed because assets could not be loaded I couldn't find why it happens. I'm using iMac. 回答1: I have faced this problem in my case it was missing of the (.)dot in following terminal command ./aapt dump badging /Users/username/Documents/Android/Release/PROD/appname.apk Hope this helps 回答2: I come this issue with

How to properly install an APK file, so that the launcher will create a new app icon of it on the home screen?

只愿长相守 提交于 2019-12-23 19:17:42
问题 Background I have a spare time app which I've made (here), that one of its main features is to install APK files. The problem Users who install apps expects that a new app icon will appear on the launcher. This can occur from the Play Store, but for some reason launchers ignore other types of installing. Something is different in the way the Play Store installs apps, than how third party apps do it. I'd like to know how to do it properly, like on the Play Store, so that installing an APK file

invalid APK file

旧时模样 提交于 2019-12-23 19:12:52
问题 Hi i am new to android dev. getting error .. [2011-01-17 11:15:48 - TriviaGK] Installation failed due to invalid APK file! [2011-01-17 11:15:48 - TriviaGK] Please check logcat output for more details. [2011-01-17 11:15:48 - TriviaGK] Launch canceled! plz tell where is logcat stored and how to debug this. Also another app is running successfully in same enviroment. Please Help android geeks. 回答1: I know this question was asked in January, but, did you try cleaning the build? I just got this

How to make Android system force LANDSCAPE for all apk?

六眼飞鱼酱① 提交于 2019-12-23 17:28:00
问题 To get this, I've made three kind of modify in android system(v4.04).They are: 1. WindowsManagerService.java, modified the getOrientationFromWindowsLocked(); 2. Activity.java, modified the onResume(); 3. PhoneWindowManager.java, modified the setInitialDisplaySize(); They all get work, but also with some side effect. So is there a better modify for this? Any suggestion will greatly appreciated. Thanks very much. 回答1: According to me you have to modified your SensorManager class in android. The