android-studio

Android Studio Preview 4.1 Database inspector crashes app

纵然是瞬间 提交于 2020-12-08 06:27:53
问题 I am getting such notice Error reading Sqlite database: Unable to perform an operation on database (id=3). The database may have already been closed. when debugging my app in Android Studio emulator if I fast change process of Database Inspector then app work ok on emulator otherwise it immediately is diconnected and crashes. 回答1: I got a simple solution not to use the DataBase inspector. remove it from the bottom menu. if you not click on it studio work properly. the problem comes after you

Gradle threw an error while downloading artifacts from the network .. Exception: Gradle task assembleDebug failed with exit code 1

大城市里の小女人 提交于 2020-12-08 05:56:57
问题 I just started with app development with flutter, but am not even able to run the test app. This is what come on console : Launching lib/main.dart on AOSP on IA Emulator in debug mode... Running Gradle task 'assembleDebug'... Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:225) at java.util.zip.ZipFile.(ZipFile.java:155) at java.util.zip.ZipFile.(ZipFile.java:169) at org.gradle

Gradle threw an error while downloading artifacts from the network .. Exception: Gradle task assembleDebug failed with exit code 1

浪尽此生 提交于 2020-12-08 05:56:10
问题 I just started with app development with flutter, but am not even able to run the test app. This is what come on console : Launching lib/main.dart on AOSP on IA Emulator in debug mode... Running Gradle task 'assembleDebug'... Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:225) at java.util.zip.ZipFile.(ZipFile.java:155) at java.util.zip.ZipFile.(ZipFile.java:169) at org.gradle

Cannot click next in Asset Studio when creating an icon

巧了我就是萌 提交于 2020-12-08 05:38:56
问题 Not sure where to post this issue I have with Android Studio IDE, I hope it can be answered here. When I open the Asset Studio in Android Studio by right clicking on my Android Module and selecting new -> Image Asset I cannot get past the first screen. Even when I leave this default, when I try and press next the Asset Window start shaking shortly after a second or two. I encountered this problem with a prior version of Android Stuido but an update to the latest version did not help. I tried

Cannot click next in Asset Studio when creating an icon

主宰稳场 提交于 2020-12-08 05:38:29
问题 Not sure where to post this issue I have with Android Studio IDE, I hope it can be answered here. When I open the Asset Studio in Android Studio by right clicking on my Android Module and selecting new -> Image Asset I cannot get past the first screen. Even when I leave this default, when I try and press next the Asset Window start shaking shortly after a second or two. I encountered this problem with a prior version of Android Stuido but an update to the latest version did not help. I tried

Android Studio 3.5.2 - Marketplace plugins are not loading

耗尽温柔 提交于 2020-12-06 15:56:19
问题 image image image Android Studio is allowed by Windows Firewall. Tried to : Turn Windows Firewall off Try with a different ISP Try installing the Flutter plugin locally None of these work. Please help me. What am I missing ? 回答1: after a 10hr search here are the steps to the solution: Locate and open the idea.properties file in your Android/bin folder Add idea.plugins.host=https://plugins.jetbrains.com to the file. Save and close file Relaunch Android Studio Hope it helps! 来源: https:/

Android Studio 3.5.2 - Marketplace plugins are not loading

二次信任 提交于 2020-12-06 15:55:38
问题 image image image Android Studio is allowed by Windows Firewall. Tried to : Turn Windows Firewall off Try with a different ISP Try installing the Flutter plugin locally None of these work. Please help me. What am I missing ? 回答1: after a 10hr search here are the steps to the solution: Locate and open the idea.properties file in your Android/bin folder Add idea.plugins.host=https://plugins.jetbrains.com to the file. Save and close file Relaunch Android Studio Hope it helps! 来源: https:/

Android Studio 3.5.2 - Marketplace plugins are not loading

空扰寡人 提交于 2020-12-06 15:55:06
问题 image image image Android Studio is allowed by Windows Firewall. Tried to : Turn Windows Firewall off Try with a different ISP Try installing the Flutter plugin locally None of these work. Please help me. What am I missing ? 回答1: after a 10hr search here are the steps to the solution: Locate and open the idea.properties file in your Android/bin folder Add idea.plugins.host=https://plugins.jetbrains.com to the file. Save and close file Relaunch Android Studio Hope it helps! 来源: https:/

This app isn't compatible with your device

和自甴很熟 提交于 2020-12-06 04:16:21
问题 I have developed an app with minSdkVersion 11 targetSdkVersion 23 versionCode 2 versionName "1.1" compileSdkVersion 23 buildToolsVersion "23.0.0" and the app is installed on devices like micromax, motoe, motog, with different versions like 4.1, 4.2, 5.0, 6.0. But when I tried with Asus phone with kitkat version, it shows This app is not compatible with your phone . I don't understand what actually is going on. Can anyone show me I am wrong? 回答1: Which Asus phone is it? Your AndroidManifest

This app isn't compatible with your device

旧时模样 提交于 2020-12-06 04:13:39
问题 I have developed an app with minSdkVersion 11 targetSdkVersion 23 versionCode 2 versionName "1.1" compileSdkVersion 23 buildToolsVersion "23.0.0" and the app is installed on devices like micromax, motoe, motog, with different versions like 4.1, 4.2, 5.0, 6.0. But when I tried with Asus phone with kitkat version, it shows This app is not compatible with your phone . I don't understand what actually is going on. Can anyone show me I am wrong? 回答1: Which Asus phone is it? Your AndroidManifest