Questions tagged [android-studio-3.0]

Use for questions about using Android Studio, an official IDE targeted at Android development. Do NOT use for questions about programming for Android in general; instead use [android].

Android Studio is the official IDE for Android development, and includes everything you need to build Android apps.

For more updates about Android Studio 3.0 check out these videos

  1. AS 3.0
  2. Java 8 support
  3. The new Profiler
1629 questions
0
votes
3 answers

Android app slow when installed from Android Studio, but runs fine when installed from adb

I'm not really sure how to word this.For some reason when I install an app that I'm working on from Android Studio it runs very slow (when an option is pressed it takes 10-20 seconds to register). But if I install the app from either my coworkers…
Johnk
  • 71
  • 1
  • 10
0
votes
1 answer

My android phone is not sending signals to the arduino uno or maybe the arduino uno card is not communicating to the servo motor sg90

I am uploading the code of both the android-studio as well as the arduino uno.. It seems right but somehow it doesn't work Android Studio code : package com.example.chintan.doorlock; import android.support.v7.app.AppCompatActivity; import…
0
votes
1 answer

Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/example/admin/myapplication/MainActivity;

I am getting this error while running this program on my device since I updated my AndroidStudio to the current latest version and I am having trouble understanding the problem. It would be grateful if someone could help me with it. I guess there's…
Ayush Kshitij
  • 125
  • 2
  • 11
0
votes
1 answer

React Native: Android simulator starts but app doesn't open

I installed Android Studio using this guide. I have Android Studio 3.0.1 and Java version 1.8.0_161, running on Macbook Pro: MacOS High Sierra, with Core i7 and 16GB RAM. I'm working on an app and I've been using the iOS simulator fine for awhile…
Attila
  • 1,097
  • 2
  • 19
  • 45
0
votes
2 answers

Google Play Billing Library missing

I'm trying to implement an in-app purchase in one of my apps. I'm running Android Studio 3.0.1 and i think everything is up to date. but when i go to the sdk manager (Tools->Android->Sdk Manager) the Google Play Billing Library is missing. I've…
branedge
  • 115
  • 3
  • 14
0
votes
1 answer

How i can solve this issue on Android Studio?

Information:Gradle tasks [clean, :app:assembleDebug] Error:Execution failed for task ':app:mergeDebugResources'. > aapt2 is missing on 'C:\Users\user\AppData\Local\Android\Sdk\build-tools\26.0.2\aapt2.exe' Information:BUILD FAILED in…
Hamza Ashraf
  • 3
  • 1
  • 3
0
votes
0 answers

How to activate onclicklistener from Voice action - Android

I would like some help with this theme. I'm developing an app that requires voice actions. I'm using Cardvied, RecyclerView and ViewHolder. Right now, the app only have touch actions, it list some information, and you can enter in details if you…
0
votes
0 answers

where can I find "Phone & Tablet Module" and "Android Library" 's template code?

I want to modify Android Studio's default Module template: and I can find most of the template code at C:\Program Files\Android\Android Studio\plugins\android\lib\templates\gradle-projects [windows] but I cannot find anything about "Phone &…
MummyDing
  • 505
  • 1
  • 6
  • 17
0
votes
1 answer

W/System.err: Caused by: libcore.io.ErrnoException: socket failed: EACCES (Permission denied)

![In this project I keep getting libcore.io.ErrnoException: socket failed: EACCES (Permission denied),I have checked all the answers related this problem,nothing works for me,I have added all permissions still the same.... This is my manifest…
Progga Ilma
  • 578
  • 6
  • 8
0
votes
1 answer

New build type: How to include androidTestCompile for that?

I've added a new build type called "debug_test" which has some BuildConfig differences made for testing. While I can run all the local unit tests when I switch to this build type I fail to run instrumented tests, actually I even fail to build…
Samuel
  • 6,126
  • 35
  • 70
0
votes
1 answer

Local Unit test: getResourceAsStream when reading production resource

There are a ton questions regarding getResource or getResourceAsStream returning null and so far I understand the issue but I currently cannot properly solve it. I have a resource file which is used by some class in production. The file is located…
Samuel
  • 6,126
  • 35
  • 70
0
votes
1 answer

How to set the maxvalue and progress of a progressbar inside a listview item

I am trying create a progress bar in each listview item and be able to set the maxvalue and progress of each one. i am using an sqlite database to store the information of the 2 values but i when i try to retrieve the values from the database an…
Waffles
  • 1
  • 2
0
votes
6 answers

Finding SHA-1 in Android Studio 3.0.1

I am trying to get the SHA-1, however, gradle>android>task>android>signingReport does not show it in Android Studio 3.0.1, can anyone help with this, please? I am completely new to App development, I am following a tutorial, when they do the steps…
J doe
  • 13
  • 1
  • 5
0
votes
3 answers

Global Variable always empty after Intent

My Global variables becomes empty after Fragment change. I followed several steps from other's post but still I can't get it. Can anyone please explain and help me to solve this? GlobalClass.java public class GlobalClass extends…
Mon Pinoliad
  • 67
  • 1
  • 2
  • 11
0
votes
1 answer

How to export data from SQlite to CSV or Excel or just anything?

Doing research on how to export a database from SQLite, I already found the following code but was not able to make it work for me. myDbAdapter.java: public static void exportDB(Context context) { String databasePath =…
Argos
  • 13
  • 5