apk

could not find the *.apk Error

一笑奈何 提交于 2019-12-08 18:00:51
问题 [2011-06-22 23:55:09 - main] Android Launch! [2011-06-22 23:55:09 - main] adb is running normally. [2011-06-22 23:55:09 - main] Could not find main.apk! I am new to Android development and stuck in a very strange error. When I compile my Android application I get the above error. While before yesterday the application work nicely. Thanks in advance. 回答1: I hit this issue because I had accidentally made the project a library, by ticking the Is library checkbox @ <your project>->right click-

Can not disable production app in Google Play Developer Console in favor of beta

柔情痞子 提交于 2019-12-08 16:45:28
问题 I uploaded my beta version of the app and I want to deactivate the production version. I figured out how to click switch to advanced and deactivate the production app but it will not let me save it, always give me in red at the top " The application could not be saved. Please check the form for errors." but I see no errors show on the form. Any suggestions on how to get past this? Here is a screen shot: 回答1: This has happened to me quite recently. I tried to unpublish an app and got same

how to disable generated signed apk android Studio?

落花浮王杯 提交于 2019-12-08 16:19:20
问题 Hi I tried generated signed apk 1 times for testing and now i only want to stimulate on tested devices but android studio always generated signed apk. That will make the process longer (every time I hit run button android studio will generated signed apk automatically) how to disable auto generated signed apk? i just want to run app on simulator only? 回答1: There is a tab, which is normally at the bottom left corner of AS. Change it from *release to *debug. (Image source : Matt W Ott, Android

Android INSTALL_FAILED_INVALID_URI

荒凉一梦 提交于 2019-12-08 15:50:13
问题 I just started getting the following error when I attempt to install an Android application to a device through Eclipse: Installation failed due to invalid URI! Please check logcat output for more details. Launch canceled! I've also tried installing both the APK in the bin folder and a signed APK through adb. When I do this, I get an INSTALL_FAILED_INVALID_URI error. I haven't changed anything about my setup, and it used to work without a problem. Any ideas? Thanks! LogCat output: D

How do you disable “Use Mono Shared Runtime” in Visual Studio 2017

空扰寡人 提交于 2019-12-08 14:45:59
问题 I'm following this guide http://www.c-sharpcorner.com/article/creating-and-distributing-android-app-using-visual-studio-2017/ to generate the APK file for my app, however when I'm archiving the project it gives me the following error: Mono Shared runtime is enabled for 'MyApp.Android'. The selected build configuration is using the Mono shared runtime for faster deployment. Apps cannot be archived with this setting enabled. Please ensure that you are using a release configuration and that the

Reducing size of apk through libraries

岁酱吖の 提交于 2019-12-08 13:31:20
问题 I want to decrease the size of apk.I have already used Lint and Proguard to remove unused resources and reduce size.Now i am looking at libraries like ButterKnife which can reduce the lines of code.Are their any other good libraries which can help in minimizing lines of code and hence help in reducing size of apk? 回答1: There is a huge list of libraries available which can reduce the line of codes for common operations you perform in Android: Retrofit 1.9.0 : for REST API calls Event Bus 2.4.0

Change app name, shortcut label and icon after installation. Is it possible?

我怕爱的太早我们不能终老 提交于 2019-12-08 11:52:47
问题 I need to end a dispute with my customer. Is it possible to rename the application label, the shortcut name and the application icon after the APK is installed? I would say no! absolutely no! No rooted device, no external tool. The application is downloaded and isntalled by the standard Google Play market tool. At the first execution the app know its new label/icon but it can't modify these properties itself. Am I wrong? 回答1: You are not wrong sir. The app's name and icon are stated in the

I have an installed apk but i cannot find its path using usb with file explorer on mac

有些话、适合烂在心里 提交于 2019-12-08 11:36:53
问题 I want to run Appium on an already installed app on my Android device. (it's a 3rd party app. Like FB or Gmail) I want to set File appDir = new File(classpathRoot, "../../../---"); File app = new File(appDir, "----.apk"); But I cannot find where is the apk installed on my device (plugged in with USB and still don't find the apk in the file explorer) how can i easily find this apk path? 回答1: If you need to automate an app which is already installed on your Android device, you do not need to

APK not working made from Android Studio V 2.3.3

醉酒当歌 提交于 2019-12-08 11:24:31
问题 I have updated my Android Studio from 2.3.2 to 2.3.3. Now, when I try to install APK generated in \app\build\outputs\apk, the App gets installed but it just flicks and exists. It used to work fine before but it's not working since yesterday, and I have tried 2-3 different projects also but no use. 回答1: Your manual way of generating APK is not generating the correct APK, so i am Suggesting these way to generating APK for Manual Install: For Debug Build Delete you build folder inside the App

How to get the result of installation intent?

心不动则不痛 提交于 2019-12-08 10:17:49
问题 In my application I download an apk from a server and save it on the device. This apk is used to update the app. If the download is finished the user is prompted to do so by using the following code: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { Uri apkUri = FileProvider.getUriForFile(getApplicationContext(), BuildConfig.APPLICATION_ID + ".provider", updateAPK); Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE); intent.setData(apkUri); intent.setFlags(Intent.FLAG_GRANT_READ