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
1 answer

Android studio - keeps generating Debug signed APK

For some unknown for me reason, Android studio keeps building signed APK in Debug mode all the time, thus I am unable to publish it in google play store. I set all my modules to Release in build variant, as you can see in the image above. I am…
Matthewek
  • 1,519
  • 2
  • 22
  • 42
0
votes
2 answers

ANDROID STUDIO start failed!! what to do?

I was working on android studio and it was working fine until i tried to update the packages from the sdk manager and it didnt get completed (reached almost 75% and then stopped possibly due to weak network connection). Now when i try to open…
rishi singh
  • 11
  • 1
  • 2
0
votes
2 answers

Android Studio: Missing: Emulator Greyed out

Background to problem and how it all started: I suddenly and without warning had errors related to plugins. Specifically, firebase services and firebase testing plugins not enabled. Result, could not open my project. After lengthy research and…
GAK76
  • 33
  • 1
  • 5
0
votes
3 answers

Getting String out of custom List View

So what i m trying to do is get a String value on click of an item. But through this code when i click on the item i get the position of the converter class or something like that,which i dont understand. "MainActivity$Converter@30e6eb1" in the…
Karan Jtv
  • 25
  • 1
  • 11
0
votes
1 answer

Reset integer daily, in specific time

I need to reset an integer "daily" at a set specific time of day. In my activity, I write the value of daily into Shared preferences, then with an alarm manager and broadcast receiver try to set it to zero. everything works, besides the shared…
0
votes
1 answer

Push file to Downloads in android emulator

I have a program logic which assume user will download a file into there device first, and then my program will allow them to open it and process the file. With this logic, I tried to using the Storage access framework Intent intent = new Intent() …
Prisoner
  • 1,839
  • 2
  • 22
  • 38
0
votes
1 answer

how can use open methode in database in newactivity?

public class ContentView1 extends ActionBarActivity { private ListView Content1; private List> books_List; private dbHandler db; @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1) protected void onCreate(Bundle…
0
votes
1 answer

Android Studio GUI issue in Linux

I install Android Studio on Arch Linux. And It have some problem. I can not create new Project because the new panel was too long. And I can not manage to press the button at the end of panel. I use Android Studio 2.2 on Arch Linux with…
Tan Dat
  • 2,888
  • 1
  • 17
  • 39
0
votes
1 answer

In Android Studio I'm getting IllegalStateException: Android platform not set for module:

I am trying to run an Android app on my Mac that was created on another Mac. I'm not sure what is causing this problem exactly but here is some information if you could try to help identify what I need to fix. This is the first error that appears: …
Jazzmine
  • 1,837
  • 8
  • 36
  • 54
0
votes
1 answer

Android: setMinDate with two DatePicker

i have to setMinDate with today in one DatePicker, and in second DatePicker i have to setMinDate with the previous date selected. I tried to search on internet but all the things that i tried didn't work. Can someone help me to solve this…
0
votes
1 answer

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE "some number"

today when i start new project an error occured said plugin is too old. and i click fix plugin version and fix project but the same error is still there after fixing plugin. Here is my application gradle file. ' buildscript { repositories { …
0
votes
1 answer

Bootstrap in Android application using android studio

I'm new to Android application. I don't know how to create responsive design application using Android Studio. In my application the layout will be changed based on the content what I gave. I didn't get the proper alignment. Here are my…
Hemathri
  • 11
  • 1
  • 1
  • 5
0
votes
1 answer

Android Drag and Drop - image not getting dragged

In my Android program, I want to move my imageview from one position to another in a Linear Layout. The imageview is getting dragged, but when I place at a position, it's returning to the starting position itself. What can I do? Googled a lot, but…
grovile
  • 45
  • 1
  • 8
0
votes
2 answers

How to set JDK path correctly in Android Studio

I am using Android Studio 1.4.1. when I tried to open an existing project, i received the follwoing error: Error:The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\xxx\SDK\bin\java.exe I do not know…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
0
votes
1 answer

Cannot perform a calling between two emulator in android studio 2.0

I turned on two emulators with port 5556 and 5554 from different windows. I pressed number 5556 and called. But nothing happens. I cannot call between two emulators in Android studio 2.0. How can I fix it Thank all In addition, can I use block…
Jame
  • 3,746
  • 6
  • 52
  • 101