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
0 answers

Gradle sync fail in Android Studio 3.0.1 (latest version) even after downloading all Ndk/Sdk bundles

I am new to Android Studio. How can I resolve this error?
Fury
  • 151
  • 1
  • 9
0
votes
1 answer

Android Studio runs wrong test -- unit test is executing from androidTest package

I have two tests, one unit test and one instrumentation test: [...]/src/androidTest/java/com/mydomain/api/ApiClientTest.java [...]/src/test/java/com/mydomain/api/ApiClientTest.java Right-clicking on androidTest/.../ApiClientTest.java and selecting…
tenprint
  • 1,123
  • 1
  • 11
  • 29
0
votes
1 answer

How to set a point on an object via point-cloud/depth perception?

Problem: My app cannot set a point on/near a point of the latest point-cloud data (on an object) through the click of a button. Click this link to see the android app I have developed so far; I developed my app from the tango point-to-point…
0
votes
0 answers

Gradle Task Build Error Android Studio 3.0

Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar] C:\Users\S.T.ANNAN\AndroidStudioProjects\MyFirstAndroidApp2\app\src\main\res\layout\content_main.xml Error:(50) error: not…
0
votes
1 answer

How to log and view errors in Android Studio 3?

I just upgraded to Android Studio 3.0. After some changes to my app, I ran the application and got a crash on my phone. This was not unexpected, but when I opened the Android Profiler, which is supposed to replace the Android Monitor, I could not…
Sachin Rammoorthy
  • 1,355
  • 1
  • 7
  • 10
0
votes
1 answer

How to push up content without toolbar when open keybord in android

My xml file like below its for chat activity someone open the keyboard how can I make content up with keyboard without changing toolbar
HemalHerath
  • 1,006
  • 2
  • 18
  • 38
0
votes
0 answers

Searching for library using Project Structure yields no results

Basically what the title says. If I search for any android library (e.g. support, picasso etc.), the thing on the right of the search field turns for about a second and then nothing. I can only add the default libs you see when the dialog…
0
votes
1 answer

"Unknown SDK home path" in Android Studio

I had to switch the user account on a Windows 10 PC (a very long story). Now, I am unable to open Android app projects as Android projects. I cannot even create a new Android project. I think that I have found the culprit, but do not know how to…
Hong
  • 17,643
  • 21
  • 81
  • 142
0
votes
2 answers

android studio 3.0 Error:Could not resolve all files for configuration

android studio 3.0 error Error:Could not resolve all files for configuration ':app:debugCompileClasspath'. Could not resolve com.android.support:appcompat-v7:26.1.0. Required by: project :app Could not resolve…
abdo 20122
  • 121
  • 2
  • 3
  • 4
0
votes
1 answer

Change the default Users folder in Android Studio 3.0

Been trying in vain to change the default Users folder drive C to drive G as drive C has very little space left. These answers helped to some extent, in that, I was successful only moving the .gradle folder: Answer 1 Answer 2 But in spite of…
Narayana J
  • 307
  • 5
  • 17
0
votes
0 answers

Android Studio classes cannot find inbuilt classes

Ok, Hello everyone. So I had posted this problem a week ago, that my Android studio somehow modified the Activity.java I had been trying to resolve it I had reinstalled Android studio several times. Tried different versions. (Currently I have the…
user8800840
0
votes
1 answer

In a fragment if I press back button go to SettingsActivity.class

I have a activity_settings.xml file like below in this file I have 3 text views if I click one it will take me to a fragment
HemalHerath
  • 1,006
  • 2
  • 18
  • 38
0
votes
1 answer

Android Studio settings changed after cloning project from Github

For the first time I cloned this project from github and after that all setting of my android studio are changed. AVD Manger is Missing , Android from Project is missing , Build APK is missing and many other things It is completely changed. I am…
Novice
  • 49
  • 11
0
votes
1 answer

Unable to merge dex after Android Studio Upgrade to 3.0

Did anyone manage to solve this Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
0
votes
2 answers

android.widget.FrameLayout cannot be cast to com.example.crowderia.chat.view.SnapTabView?

I have a frame layout call view_snap_tabs.xml that have image and view like below
HemalHerath
  • 1,006
  • 2
  • 18
  • 38