Questions tagged [android-studio-2.0]

Android Studio is the official IDE for Android application development. In version 2.0 it is based on IntelliJ 14.

Android Studio is the official IDE for Android application development, based on IntelliJ IDEA. On top of the capabilities you expect from IntelliJ, Android Studio offers:

  • Flexible Gradle-based build system
  • Build variants and multiple apk file generation
  • Code templates to help you build common app features
  • Rich layout editor with support for drag and drop theme editing
  • lint tools to catch performance, usability, version compatibility, and other problems
  • ProGuard and app-signing capabilities
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine
  • And much more

Reference: https://developer.android.com/tools/studio/index.html

In version 2.0 it is based on IntelliJ 14.

347 questions
0
votes
0 answers

Android Studio fails to debug with error

Error:Execution failed for task ':app:preDexDebug' com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_79\bin\java.exe'' finished with non-zero exit value…
Imran
  • 241
  • 1
  • 6
0
votes
2 answers

android studio stuck on new project

I wanted to create a new porject in Android Studio 2.0, so I choosed a name and location for my new project, then I have clicked on the Next button. after that, in Target Android Devices window, I've choosed a minumum SDK, then clicked on Next…
0
votes
3 answers

Blank screen before splash screen in Android

I checkout code from svn and I resolved the run time issues and run the application. Then for me blank screen is coming for every first launch the app and for others it's not happening. I added below line to fix runtime error aaptOptions { …
Subramanyam G
  • 103
  • 1
  • 1
  • 10
0
votes
1 answer

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-Studio automatically removes it. this is so…
david
  • 2,900
  • 5
  • 28
  • 48
0
votes
2 answers

Autocomplete Google maps API returns NULL

I am a newbie to android and google maps. Basically, I want to provide a search bar besided my mapview to users. The search bar should enable user to search for restaurants. I tried using the google autocomplete API . However, when I type one…
0
votes
1 answer

android studio dark blue-green theme

How to set my Android Studio IDE theme as seen in the image: Android Developer theme I saw such kind of theme while watching youtube android developer material design tutorial. here
HackChamp
  • 65
  • 10
0
votes
0 answers

Cordova new project build Error: Error code 1 for command

I have installed fresh cordova and add android platform now when i run "cordova build" command in cmd, it showing an error. screenshot is below this is the error screen Please help me to solve this Thank you
0
votes
2 answers

Error while integrating Paypal in Android

I am new to android and i try to integrate Paypal in Android. I follow this official tutorial https://github.com/paypal/PayPal-Android-SDK/blob/master/docs/single_payment.md I got the following error uses-sdk:minSdkVersion 15 cannot be smaller…
fmashkoor
  • 113
  • 1
  • 2
  • 6
0
votes
1 answer

I am trying to login with my Apps. I dont understand the mistake. I prove my code for a example more easy and this had work it. thanks

when i click login button after enter email and password i got the error as "unfortunately,myapp has beeen stopped" and i got error message as FATAL EXCEPTION: AsyncTask #1 and An error occurred while executing doInBackground(). for ref i have…
selvam
  • 1
  • 3
0
votes
2 answers

React Native fingerprint authentication in Android

I have built an android app which successfully uses fingerprint authentication API in AndroidStudio. I need to build the same thing but using React Native for android. How to go about it? is fingerprint authentication API supported in React? can i…
NathanK
  • 9
  • 2
  • 5
0
votes
1 answer

Android Studio pointing at wrong user directory

On my machine I have two user directories, one local on C:\Users\Username\, and another on a network path \\networkName\Home\Username. Although Android studio was stored in C:\Program Files, and the SDK folder was set to…
James Jenkinson
  • 1,563
  • 2
  • 16
  • 33
0
votes
2 answers

adding a library in android studio project?

i couldn't find a way to add this library to my Android Studio project i need to know where should extract this file https://github.com/SundeepK/CompactCalendarView
0
votes
0 answers

Gradle build error while importing android studio project

Whenever I try to open any downloaded project in android studio it always gives me error given below Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm…
0
votes
1 answer

Importing src folder into Android Studio

My Android Studio project was doing some funny business with the preview mode. I was getting lots of errors in regards to rendering the views. In just one Activity I would get about 50 errors. Long Story Short: I spent all day searching for a…
chaser
  • 3,107
  • 4
  • 29
  • 34
0
votes
1 answer

class is not public in package. cannot be called from outside package

I am implementing audio/video call in my android application. I am getting following error while importing the AppRTCAudioManager class. com.quickblox.videochat.webrtc.AppRTCAudioManager is not public in com.quickblox.videochat.webrtc cannot call…