android-studio-2.0

Unable to resolve imports from external dependencies in Android Studio 2.0 Preview 5 + Preview 6

╄→尐↘猪︶ㄣ 提交于 2019-12-04 01:13:16
After upgrading from the last Android Studio 2.0 preview to Preview 5 I'm having trouble with the imports from the android.support.wearable package. Both the main app and Wear app builds and run just fine, but the editor in Android Studio complains that it can't resolve the these imports import android.support.wearable.activity.WearableActivity; import android.support.wearable.view.CircledImageView; import android.support.wearable.view.WearableListView; In the Wear module's build.gradle I have the following dependencies: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile

Error:(144) Attribute “srcCompat” has already been defined

杀马特。学长 韩版系。学妹 提交于 2019-12-03 21:44:01
I've coded an application which can post tweets and you can see user timelines and search timelines with it. I did that with the TwitterAPI and fabric.io. And if I want to generate an APK file or sync the Gradle file, I get these errors: C:\Users\Alexander\AndroidStudioProjects\FacebookPlus\app\build\intermediates\res\merged\debug\values\values.xml Error:(140) Attribute "srcCompat" has already been defined Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Alexander

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 Instant Run First-time takes too much time to launch app after installed

左心房为你撑大大i 提交于 2019-12-02 19:20:42
I have installed android-instant-run introduced in android-studio-2.0 I am getting problem while running my app first time. Its appearing with blank screen for a 5 to 10 seconds then after launching activity. It takes time to run first time only for every application but why it happens that I don't know. Logcat : W/System: ClassLoader referenced unknown path: /data/app/com.package.name/lib/arm Hello I am also facing this issue when i update my Android Studio 2.0 This issue is resolved by changing minSDKVersion from 14 to 16 and change the gradle version to 2.4. This will work fine. The

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 Emulator: missing right panel

时间秒杀一切 提交于 2019-12-01 18:53:55
It seems to be that in the latest version of Android studio, Google includes a new skin for the emulator. I noticed that their is a side panel at the right of the emulator. In my case, this panel is missing. I've searched for hours but with no result. Could anyone show me how to enable this panel in the emulator PS: I'm using Ubuntu 14.04 Put mouse at top right conner(Cursor change to double head arrow) left click mouse and drag out to right. The panel will display again. Minimise the emulator window then maximise it again. The right panel will re-appear. After some hours digging, I ended up

App won't run under Android Studio 2.0, after upgrading from 1.5

不羁岁月 提交于 2019-12-01 16:04:53
I recently upgraded my Android Studio from 1.5 to 2.0. My app would build and run nicely on Android 1.5. Now, when I try run the app on my smartphone, it gives me this error: Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'. > 24 When opening my project on Android Studio 2.0, a message box appeared, telling me to upgrade my gradle to version 2, which I did. I am not sure why I am getting this error. Here is the output I get as I try to run the app on my phone: Executing tasks: [clean, :app:generateDebugSources, :app:mockableAndroidJar, :app

NDK Debugging with gradle-experimental plugin

亡梦爱人 提交于 2019-12-01 11:52:43
问题 I'm trying to add native debugging to a project that is an Android Studio NDK project. In the past I just used gradle to kick off a shell script, which built the NDK lib. Now I'm trying to move to use the gradle-experimental plugin. I've scoured the net for what little info there is, (mostly here, Android Tools Site - Gradle Experimental), about using gradle-experimental with the NDK and I've put together this build.gradle file which is using the preview NDK support for doing the NDK build

How do merge specific svn revisions from branch to trunk in Android Studio 2.0

本秂侑毒 提交于 2019-12-01 00:33:18
Some time ago there was a great window where I could choose which revisions I want to merge. And recently the new dialog started to appear. It says : This will make branch ' https://my_branch ' no longer usable for further work. It will not be able to correctly absorb new trunk ( https://my_trunk ) changes, nor can this branch be properly reintegrated to trunk again. Are you sure? But I don't want to reintegrate it. I just want to merge a few revisions. can I still do that in Android Studio Thanks I've find out what was wrong. It doesn't depend on the version of Android Studio. The problem was

Emulator not working in Android Studio 2.0

你说的曾经没有我的故事 提交于 2019-11-30 22:18:28
I am using Android Studio 2.0 Stable version. Whenever I click on the play button on the device to run it shows starting AVD progress in android studio and after completing it's progress nothing happened.The app window remains as it shown in screenshot and the emulator doesn't start. I can't find a solution for this issue. I have already tried many solutions which I found on the internet, changing HAXM version android SDK update, changed target API's. But nothing works. Try edit AVD Settings -> Emulated Performance -> Graphics. Set Software - GLES 2.0. Installing the Android Emulator (marked