android-studio-2.2

Android Studio 2.2 giving error while creating new project

随声附和 提交于 2019-12-04 04:38:43
问题 I just updated my android studio to Android Studio 2.2 Build #AI-145.3276617, built on September 15, 2016 JRE: 1.8.0_76-release-b03 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Now when I create a new project I am getting build error. Error:Failed to resolve: javax.inject:javax.inject:1 <a href="open.dependency.in.project.structure">Show in Project Structure dialog</a> 回答1: i have solved it gradle is not able to download dependencies. Check your internet connection use fast

Android Studio 2.2.1 Gradle Sync NullPointerException

时光总嘲笑我的痴心妄想 提交于 2019-12-04 02:40:48
问题 I have installed android studio 2.2 and created new project but gradle sync failed every time and getting following exception. Error:Cause: java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) at java.util.Arrays.asList(Arrays.java:3800) at com.intellij.openapi.util.io.FileUtilRt.doCreateTempFile(FileUtilRt.java:399) at com.intellij.openapi.util.io.FileUtilRt.createTempFile(FileUtilRt.java:361) at com

Android Studio Turn Off Documentation Popup

喜你入骨 提交于 2019-12-04 02:06:47
I've been fighting this for a while now. It's gotten really irritating. I've tried turning off File->Settings->Editor->General->show quick documentation on mouse move File->Settings->Editor->CodeCompletion->autopopup code completion File->Settings->Editor->ParameterInfo->autopopup in (ms) Dragging the documentation window to the side. And none of these have worked. I'm using Android Studio 2.2.3 on Ubuntu Linux. What am I missing? Thanks! Daniel P. Delfino This option File->Settings->Editor->General->Other->uncheck "Show quick documentation on mouse move" worked for me on Android Studio 3.0.1

Android Studio 2.2 preview throwing error while implementing databinding

送分小仙女□ 提交于 2019-12-04 01:13:50
I have updated my android studio to 2.2 preview 1 and applied the specified dependencies for google and firebase as specified but still getting the following error EmptyThrowable: Wrong dependency type: class com.android.tools.idea.databinding.DataBindingUtil$LightBRField dataBinding { enabled true } You can update the Google repository in the Android Software Development Kit (SDK). The fastest way to do it to click: Help> Check for updates Just use latest Android Studio 3.1.3 or new if available. You will not get this error. 来源: https://stackoverflow.com/questions/37374484/android-studio-2-2

Gradle build failed - unable to unzip

爷,独闯天下 提交于 2019-12-03 12:45:33
I am doing a project using android studio.Recently it showed an error that your SDK is missing or out of date so, I downloaded SDK once again.Now it shows an error that Gradle Build failed The error is mentioned below: `Error:Execution failed for task ':app:prepareComAndroidSupportAnimatedVectorDrawable2531Library'. > Unable to unzip '/home/nandha/Android/Sdk/extras/android/m2repository/com/android/support/animated-vector-drawable/25.3.1/animated-vector-drawable-25.3.1.aar' to '/home/nandha/.android/build-cache/e07f150905e44f35b3635185e8f46be2d475fc86/output' or find the cached output '/home

Could not get unknown property 'assembleRelease' for project

本秂侑毒 提交于 2019-12-03 09:48:41
After updating Android Studio to version 2.2 and the gradle plugin to 2.2.0, I get following error: Error:(32, 1) A problem occurred evaluating project ':jobdispatcher'. Could not get unknown property 'assembleRelease' for project ':jobdispatcher' of type org.gradle.api.Project. The problem is in the build.gradle file of an imported jobdispatcher module: task aar(dependsOn: assembleRelease) What changes can I make to fix this? Note, this issue is very similar to, but still a bit different to, that reported here . Move your dependency dependsOn inside your gradle task like shown below: task aar

Aldebaran's Pepper sdk for android/Robot sdk 0.9 “Robot SDK'0.9' is not complete. Please download it again or re-create the robot application.”

好久不见. 提交于 2019-12-03 08:40:00
When trying to install the android sdk for Aldebaran's pepper robot on my computer following this official tutorial: Step 1: android.aldebaran.com/doc/installation.html Step 2: android.aldebaran.com/doc/create_project.html#create-project When trying to launch the Virtual Robot Environment of Pepper's tablet on my computer this message is printed: "Robot SDK'0.9' is not complete. Please download it again or re-create the robot application." So far I have tried the following on my Ubuntu 16.04 64bit computer: Uninstalling and re-downloading/installing the Robot sdk over the robot sdk manager

Android Studio 2.2 Preview all screen sizes missing

你离开我真会死。 提交于 2019-12-03 00:57:11
Android studio before 2.2 version at the xml design screen there was a view like "Preview all screen sizes" (check the image) but I cannot find that in Android Studio 2.2 Beta 2. My Android Studio version is: Android Studio 2.2 Beta 2 Build #AI-145.3200535, built on August 18, 2016 JRE: 1.8.0_76-release-b03 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Could you help me where is it, how can I open it? The option to preview all screen sizes is not available in Android Studio 2.2 Beta 2. However, you can resize the preview screen to see how your layout would look on different screen

Android Studio Not Recognizing Application Name on Update to 2.2.2

别等时光非礼了梦想. 提交于 2019-12-02 19:25:58
问题 I recently updated Android Studio to version 2.2.2 and have been experiencing some issues, among them my application name is no longer being recognized in the manifest. I also migrated to the new Firebase SDK based on the documentation located here: I am not exactly sure of the cause, but have been reading about multidexing as being one of the components related to this error. I am also receiving a run-time error below that I believe also relates to the issue: --------- beginning of crash 11

Android Studio 2.2 not displaying view properties

折月煮酒 提交于 2019-12-02 10:05:53
After upgrading my android studio to version 2.2 i'm getting following error when i click on a view in layout designer to see it properties: Exception in plugin Android Support Moments Ago. Missing attribute definition for focusable java.lang.IllegalArgumentException: Missing attribute definition for focusable at com.android.tools.idea.uibuilder.property.NlPropertyItem.(NlPropertyItem.java:88) at com.android.tools.idea.uibuilder.property.NlPropertyItem.create(NlPropertyItem.java:72) at com.android.tools.idea.uibuilder.property.NlProperties.getPropertiesWithReadLock(NlProperties.java:111) at