86 questions
0 votes
3 answers
447 views
Manifest Merger failed after importing from Eclipse
I have imported a project from Eclipse to Android Studio. When I am building the project its shows a "Manifest merger failed with multiple errors, see logs" error. I have tried to update the sdk ...
0 votes
1 answer
223 views
Import Realm as module to modify
I need to modify realm-java. But simple adding realm-library as module to my android studio does not work. Tell which parts of this repo have to be added to my project, so I could use code locally. If ...
1 vote
0 answers
1k views
How can I find out the import path of external libraries in Android Studio?
I did the following: 1. downloaded a library from GitHub as zip and renamed it to jar 2. copied it in Android Studio to app->libs How can I import it in the code or how can I find out the import ...
1 vote
1 answer
4k views
Android Studio cannot resolve symbol Error
I have no idea what's happening. All these errors coming up, here's the pic. I imported a project from github and all these errors are here, not sure why.
-1 votes
1 answer
2k views
The system cannot find the file specified, Gradle project sync failed
Error:(20, 0) CreateProcess error=2, The system cannot find the file specified Gradle is not syncing the project "GnuCash" form "github" any help would be appreciated.
0 votes
1 answer
4k views
Error:(1, 0) Plugin with id 'com.android.application' not found - no build.gradle file
i have imported an Android Studio project, into Android Studio yet the error appears: First Screenshot Error:(1, 0) Plugin with id 'com.android.application' not found. It appears on import that the ...
5 votes
1 answer
430 views
Imports on the fly is adding random Resources and Static ID
I am using Android Studio 2.2.2; and "Optimize imports on the fly" option is checked. The problem is, when I'm using a resource without its package; for example sampleString instead of R.string....
1 vote
3 answers
2k views
How to import a library from github?
I don't understand how to add a library in my new project. https://github.com/txusballesteros/bubbles-for-android I saw similar posts but I don't get the library in my project. Error:Configuration ...
1 vote
2 answers
5k views
Android Studio : Unsupported major.minor version 52.0
My friend Gave me a project which was built in Windows platform and I have ubuntu. So when I import the project I am getting this error, Error:(1, 0) Cause: com/android/build/gradle/AppPlugin : ...
4 votes
4 answers
1k views
android - Cannot resolved symbol PlusShare
I follow this Google link to make a sharing function in my application. However, Android studio cannot resolved symbol PlusShare in the sample code. My google play service is updated to the newest ...
1 vote
1 answer
303 views
Gradle sync failed: C:\Users\DG\AndroidStudioProjects\Calci-app\Calci-app\src\main\AndroidManifest.xml (The system cannot find the path specified)
I am a newbie in Android Studio and I copied an Android Studio project from a pen drive in my Laptop and tried to run it on my laptop and I am getting this error in Android Studio. Given below is my ...
0 votes
1 answer
97 views
Android Studio automatically erases my static imports in Unit tests
Android Studio automatically erases my static imports. I started out creating new tests using robolectric and when I used static import for import static junit.framework.Assert.assertEquals; Android-...
0 votes
1 answer
119 views
Error in open AppRestrictionEnforcer project in android studio
While importing sample project in android studio, this error coming as Access is denied even if i click on : Fix Gradle wrapper and re-import project You can find this project in this directory of ...
-1 votes
2 answers
5k views
Android studio get error "Execution failed for task ':app:mergeDebugResources'. Error Duplicate resources"
After converting an eclipse project into android studio I am getting below error: Error:Execution failed for task ':app:mergeDebugResources'. > [string/test] E:\Workspace\Calculators\app\src\main\...
1 vote
2 answers
3k views
Cannot Resolve symbol "OnItemSelectedListener"
package com.example.android.mycalculator; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.View; import android.widget.AdapterView; import android.widget....