android-studio-3.1

After Android Studio 3.1.1 update, the 'locate' link does not open generated APK folder

柔情痞子 提交于 2019-12-05 00:51:57
UPDATE: The problem came after Android 3.1.1 update. After APK generation process is completed, Android Studio (Windows OS) propose a popup to locate or analyze the APK. Unfortunately if I click on locate , nothing is happening. UPDATE In the APK Generetion Dialog I specify the destination path, a folder on my pc: And in some projects I use a bounche of gradle lines to rename the APK: android.applicationVariants.all { variant -> if (variant.buildType.name == BuilderConstants.RELEASE) { variant.outputs.each { output -> def padVersionCode = variant.versionCode.toString(); padVersionCode =

Where is a “Sync project with gradle files” button in Android Studio 3?

风格不统一 提交于 2019-12-04 23:03:39
This button disappeared from a new 3.1 version of AS Toolbar. Before it showed as: Now it's missing: It hasn't disappeared. They have just moved it between the Save and Sync files button on the far left end of the toolbar. Edit: They like to keep playing with the toolbar. Since Android Studio 3.3, the icon has been updated and moved back across to the right: In Android Studio 3.3 it is here: Is is available from menu. Tools > Android disappeared, so find it in File > Sync Project with Gradle Files . For me I did following to make it visible: Go to File -> settings -> Menus and Tool bar as

Where is the Messages Window in Android Studio 3.1

China☆狼群 提交于 2019-12-04 22:15:14
After upgrading Android Studio from 3.0 to 3.1, the Messages window seems to have disappeared, even though some build outputs (e.g. proguard) continue to refer to it. Where is it? After some poking around, I found this button on the left side of the Build window: Clicking this button toggles the view between the new "Build" view and a text output version which resembles the old Messages view - although it isn't exactly the same. I hope this helps! UPDATE: In Android Studio 3.3 the button now looks like this: Can't find the button @yuval provided, but here it is to toggle to show it With

Build failed in Android Studio 3.1, gradle 4.4 class signer information does not match signer information of other classes in the same package

流过昼夜 提交于 2019-12-04 21:45:35
I'm making a project in Android Studio 3.1 with libgdx and i can't build my project because it says: class "org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings"'s signer information does not match signer information of other classes in the same package But i don't use "bouncycastle" or something I checked a lot pages and topics about this problem but i didn't find any solutions for this. Also i haven't any jar files and i never tried to sign something, i'm only trying to build my project Please help me guys, i really stuck at it Update: Java 10.0.2 was having issues with GDX 1.9.8 so I

BuildException: Failed to execute aapt in Android Studio 3.1 Canary 6

泄露秘密 提交于 2019-12-04 08:19:44
I am facing this issue during gradle build: org.gradle.tooling.BuildException: Failed to execute aapt at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.java:547) at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.doFullTaskAction(LinkApplicationAndroidResourcesTask.java:280) at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke

Android Studio 3.1 Where is the TimePicker in the Layout Editor

风格不统一 提交于 2019-12-03 23:31:33
问题 On upgrade to Android Studio 3.1 there is no TimePicker in the layout editor palette. Search doesn't find it. In fact all of the picker controls seem to have vanished. They were there in 3.0. 回答1: I am not sure where to find it in the selection menu but if you just need a time picker in your project you can select the Text tab on the bottom of your activity.xml file and paste the TimePicker xml. <TimePicker android:id="@+id/simpleTimePicker" android:layout_width="wrap_content" android:layout

Android Studio 3.1.2 : Failed to resolve: runtime

喜欢而已 提交于 2019-12-03 07:25:29
问题 I have recently updated my Android Studio to 3.1.2 . After the update I tried opening the existing project and was shown multiple gradle errors while compiling the project. Those errors pointed me to update the 'compile' statement to 'implementation' , which I did, still faced some errors which I later solved by updating my google play and firebase sdks to latest version . Now I have no clue why is my IDE giving the following error (look at the screenshot). Failed to resolve: runtime ). Now

Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true

旧城冷巷雨未停 提交于 2019-12-03 06:48:09
问题 Today I receive this error, while exactly same code was working an hour ago Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true and this, and project doesn't run: Cause: duplicate entry:... Update : Deleting .AndroidStudio folder from User folder resolved problem, at least for now! this is my build.gradle : configurations.all { resolutionStrategy { force "com.android.support:appcompat-v7:$project.andySDK" force "com.android.support:support-vector-drawable:

Error running 'app': Unknown error in Android studio 3.1

橙三吉。 提交于 2019-12-03 01:08:21
I have updated my android studio to new stable version 3.1 . After build project not able to run. Let me know if anyone have face same issue or find any solution. Chelo Just go to " Run/edit configurations... /" and scroll down to bottom of the window and here you see an option " Before launch... " First, remove whatever already inside the little window and then click on ( + ) icon and select "Gradle-aware Make " and then type " assembleDebug " and select the first option or that you need. This will solve your problem. Try deleting both your build folders in your project manually and rebuild.

Android Studio 3.1.2 : Failed to resolve: runtime

亡梦爱人 提交于 2019-12-02 20:05:31
I have recently updated my Android Studio to 3.1.2 . After the update I tried opening the existing project and was shown multiple gradle errors while compiling the project. Those errors pointed me to update the 'compile' statement to 'implementation' , which I did, still faced some errors which I later solved by updating my google play and firebase sdks to latest version . Now I have no clue why is my IDE giving the following error (look at the screenshot). Failed to resolve: runtime ). Now when I did Build > Clean Project The error was Could not find runtime.aar (android.arch.lifecycle