android-studio-2.3

Android Studio 2.3 emulator freezes / crashes

允我心安 提交于 2019-12-12 02:34:15
问题 I updated from studio 2.2 to 2.3 and here the emulator appears showing "Android is starting" and at various numbers of for example "Optimizing app 22 of 45." it freezes. Restarting is not possible as I can not terminate "qemu-system-i386.exe" (access denied). I already uninstalled the emulator version 26 (version 25 had the same problem) with SDK manager (even undeleted ...\AppData\Local\Android\sdk\emulator) and reinstalled it and did a lot of other things but nothing helps. Any ideas how I

Android studio stuck at splash screen

佐手、 提交于 2019-12-11 15:29:08
问题 when I write the disable.android.first.run=true in idea.properties, then it stuck on welcome screen and nothing happen when I click on new project. 回答1: try opening it from terminal like ./studio.sh and you can see the verbose output of what's going wrong. Maybe something with your path variable? 来源: https://stackoverflow.com/questions/45011960/android-studio-stuck-at-splash-screen

I have got this Error while building gradle Error:Execution failed for task ':app:processDebugResources'. > No slave process to process jobs, aborting

孤街浪徒 提交于 2019-12-11 07:10:15
问题 I have got this Error while building grade Error:Execution failed for task ':app:processDebugResources'. > No slave process to process jobs, aborting Build.gradle apply plugin: 'com.android.application' android { compileSdkVersion 26 buildToolsVersion "26.0.2" defaultConfig { applicationId "com.colorball.madness" minSdkVersion 14 targetSdkVersion 26 multiDexEnabled true ndk { moduleName "player_shared" }} buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(

Android NDK: C++ struct member access, causes SIGBUS (signal SIGBUS: illegal alignment)

旧巷老猫 提交于 2019-12-11 05:55:39
问题 I'm porting a C++ library on Android (Android Studio 2.3.1/NDK 25); the library works flawlessly on UWP (VS2017 VC 1.41 - ARM & Win32) a custom ARM7 board (GCC 4.8). When debugging on Android Studio, I get a "SIGBUS (signal SIGBUS: illegal alignment)" during an assignment to a struct member. Here is the struct (I need it to be 64-bit aligned): typedef unsigned int _t_u32; // 32-bit unsigned typedef unsigned long long _t_u64; // 64-bit unsigned typedef struct __attribute__((aligned(8))) { _t

Cordova 6.5.0. Failed to build android apps after updating android studio to 2.3.1 and SDK tools

时光怂恿深爱的人放手 提交于 2019-12-11 04:43:48
问题 I am working on three different phonegap projects, I was able to build to android platform until I did the biggest thing I regret for it "UPDATE" Previously I was able to use command phonegap build android or cordova build android , and the build was successful with no errors But after update I found the first problem : Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable. Although, Android_home was set

Android Studio StackOverFlowError: null

≯℡__Kan透↙ 提交于 2019-12-10 19:46:13
问题 After updating to version 2.3 today, my Android Studio stopped working. null java.lang.StackOverflowError at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.lang.ClassLoader.defineClass(ClassLoader.java:642) at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:272) at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:268) at com.intellij.util.lang.UrlClassLoader.findClass

Camera2 Set Fixed Resolution

一笑奈何 提交于 2019-12-10 11:47:19
问题 I am using Camera2 API for my creating camera using Android Studio 2.3.May I ask if it is possible to set a fixed camera resolution into my camera? And if it is possible how can I set a fixed camera resolution? I'm really new to camera2 and android studio. I hope someone can help me. Thank you very much. 回答1: Yes, you can use fixed resolution. Only don't run this APK on devices that don't support this camera resolution. For example, InputConfiguration inputConfiguration = new

Android Studio 2.3 Error:Unable to load class 'com.google.common.collect.ImmutableSet'

谁都会走 提交于 2019-12-10 11:44:18
问题 Everybody! Suddenly, when I opened my exists project I'd got error: Error:Unable to load class 'com.google.common.collect.ImmutableSet'. Possible causes for this unexpected error include: Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network) The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes

Android App not loading in Emulator after Android Studio 2.3 Update

落爺英雄遲暮 提交于 2019-12-10 02:47:11
问题 I have just uploaded my Android Studio version to 2.3, and I am now having problems testing my app in my emulator. It is a Nexus 5X emulator with Android 7.0 Nougat loaded on it (API 24), with an ABI: armeabi-v7a (I have an AMD processor, so to the best of my knowledge I can only use this). Before, it was a bit slow and would sometimes come up with a 'Not Responding' error, but clicking 'Wait' would always do the trick. After the Android Studio update, when I press 'Run', it opens up & boots

Installation did not complete successfully. see the IDE log for details - Android studio

混江龙づ霸主 提交于 2019-12-09 02:30:34
问题 I am updating my android studio but show me bellow error : My android studio is 2.3.1 回答1: I had this problem before and I tried to uninstall android studio and tried everything but I found the solution.. the solution is : Downloaded SDK from beginning , and change the SDK path to the new one, then it all will work .. good luck 回答2: The reason is that the SDK manager would write the location of the temp file where it downloads the installer. For example in OP's case its mentioned as below: in