android-studio-2.1

Incompatible Bitbucket plugin 1.2.1 for Android Studio 2.0/2.1/3.0+

青春壹個敷衍的年華 提交于 2019-12-03 04:25:26
问题 I have updated version of my Android Studio to 2.0 and is facing incompatibility issue of bitbucket plugin 1.2.1 when loading Android Studio. Android Studio's Event log is saying: "Plugin Error Problems found loading plugins: Following plugins are incompatible with current IDE build: Bitbucket" Can anyone help me regarding? Thanks in advance. 回答1: Try use jetbrains bitbucket connector, open this link and download the package: https://drive.google.com/open?id=1L0bEhoCIrV9Jced1fqdYscI34wwuKyvQ

Android Studio warning when using PackageManager.GET_SIGNATURES

被刻印的时光 ゝ 提交于 2019-12-02 22:44:50
I need to get the package signature. So I get it using this code: Signature[] sigs = c.getPackageManager().getPackageInfo(c.getPackageName(), PackageManager.GET_SIGNATURES).signatures; But Android Studio gives me this warning: Reading app signatures from getPackageInfo: The app signatures could be exploited if not validated properly; see issue explanation for details. Improper validation of app signatures could lead to issues where a malicious app submits itself to the Play Store with both its real certificate and a fake certificate and gains access to functionality or information it shouldn't

Android Studio fails to debug with Error:Execution failed for task ':app:preDexDebug'.Pl

◇◆丶佛笑我妖孽 提交于 2019-12-02 22:03:34
问题 When I run my project, it shows the error in the title. What is the solution? apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.0" defaultConfig { applicationId "com.bangloss.boss.myapplication" minSdkVersion 10 targetSdkVersion 24 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include:

Incompatible Bitbucket plugin 1.2.1 for Android Studio 2.0/2.1/3.0+

一曲冷凌霜 提交于 2019-12-02 18:45:34
I have updated version of my Android Studio to 2.0 and is facing incompatibility issue of bitbucket plugin 1.2.1 when loading Android Studio. Android Studio's Event log is saying: "Plugin Error Problems found loading plugins: Following plugins are incompatible with current IDE build: Bitbucket" Can anyone help me regarding? Thanks in advance. Alex Try use jetbrains bitbucket connector, open this link and download the package: https://drive.google.com/open?id=1L0bEhoCIrV9Jced1fqdYscI34wwuKyvQ After dowloading you need install this plugin (Don't extract the package). In Android Studio, follow

Android Studio fails to debug with Error:Execution failed for task ':app:preDexDebug'.Pl

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 08:54:14
When I run my project, it shows the error in the title. What is the solution? apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.0" defaultConfig { applicationId "com.bangloss.boss.myapplication" minSdkVersion 10 targetSdkVersion 24 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:24.1.1' compile

Installing application and uninstalling does not remove completly - Android Studio

大城市里の小女人 提交于 2019-11-28 08:04:32
问题 I got a strange issue in few of my recent applications. What I did: Installing an application either directly using USB cable with Android Studio . Or downloading and installing signed APK through my local server. Application works fine in all aspects Uninstalling the application by long press and dragging the app icon to Uninstall icon Or uninstalling through Settings -> Apps -> Uninstall by selecting the app Problem: After uninstall , under Settings -> Apps -> Still the app is shown as

Android Studio JDK location changes back to 1.7 every time it is updated to 1.8 path

家住魔仙堡 提交于 2019-11-28 00:43:58
I recently installed jdk 1.8 u92 after Android Studio said it is needed for api24 builds. However, I've run into this issue now. I looked at some other solutions and uninstalled jdk 1.7, added environment variables for JDK_HOME, JAVA_HOME, and JAVA8_HOME. The problem still persists. Every time I try to build the app, gradle sync fails and Android studio asks me to Choose a valid JDK directory . I then go to Project Structure => JDK Location and update it to the 1.8 folder. Trying to build again gives the same error and when I check the Project Structure, the path is set back to the old JDK 1.7

Rendering Problems Exception raised during rendering: com/android/util/PropertiesMap [duplicate]

自闭症网瘾萝莉.ら 提交于 2019-11-27 17:25:00
This question already has an answer here: Rendering Problems Exception raised during rendering: com.android.ide.common.rendering.api.LayoutlibCallback 5 answers I have recently updated my Android Studio to 2.1.1 and I noticed my layout previews weren't working anymore, so when I checked it showed a message saying: Rendering Problems Exception raised during rendering: com/android/util/PropertiesMap (Details) When I clicked on details a message window popped up dislaying this error: java.lang.NoClassDefFoundError: com/android/util/PropertiesMap at com.android.layoutlib.bridge.android

Java.lang.ClassNotFoundException after Android studio update

纵饮孤独 提交于 2019-11-27 15:36:12
I updated to Android Studio 2.1 from the stable channel. As soon as I did that I am getting ClassNotFoundException to my login class, which is declared in the manifest for long time. Prior to the update my app was compiling fine. com.myapp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.myapp, PID: 29605 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.myapp/com.myapp.Login}: java.lang.ClassNotFoundException: Didn't find class "com.myapp.Login" on path: DexPathList[[zip file "/data/app/com.myapp-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

Error inflating class CollapsingToolbarLayout

烈酒焚心 提交于 2019-11-27 12:45:21
My CollapsingToolbarLayout crashes because of Error inflating class android.support.design.widget.CollapsingToolbarLayout. I updated the android studio last weekend. Before the updated, it works fine. After I updated it, it crashed. However, I tried to downgrade it to 2.0.0 version and it's not working anymore. My coworker has no problem with the CollapsingToolbarLayout. I am not sure what happened. The error was: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.android/com.test.android.ui.activity.RandomActivity}: android.view.InflateException: Binary XML file line