Questions tagged [android-studio-3.2]

Use for questions about using Android Studio 3.2 (currently in early availability as "Canary" level). Android Studio is an official IDE targeted for Android development. Do NOT use for questions about programming for Android in general; instead use the [android] tag.

98 questions
0
votes
2 answers

Gradle project sync failed. Basic functionality (e.g. editing, deugging ) will not work properly

Gradle sync failed when the firebase cloud messaging dependency was applied. I've tried all the versions of FCM in app like 17.0.0, 17.3.2, 15.0.0, 16.0.1, etc.
Rajat
  • 1
  • 2
0
votes
1 answer

Tabbed Activity Android Studio

I wanted to know something, I want to make an application on android with Tabbed Activity, I have everything done, but I have a problem, I want to put TextViews in one of the tab and it does not let me instantiate, if I put the match = (TextView)…
JoSeBu
  • 175
  • 1
  • 3
  • 10
0
votes
2 answers

How can I make a function that decreases a number (from 800 milliseconds to 200 milliseconds for example)

the timer is set in a period of 800 milliseconds, so always RandomPositions() will execute the inner code every 800 milliseconds (the period). Now, what I want is to decrease this number by 50 every 20 seconds or 20,000 milliseconds until it gets…
0
votes
0 answers

How can I set on the screen, the 'onClick' method 'setSoundEffectEnabled(false)'?

My ConstraintLayout has an OnClick method, so every time the screen is touched, i works like a button. But the problem here is that I need to get rid of the default sound button but the setSoundEffectEnabled(false)' ONLY works for actual button…
0
votes
1 answer

Drag and Drop feature is not working in Android Studio. Can't even click to show attributes

I want to drag and drop elements into the Design View but I just can't. I can't even see the attributes aside when click into the screen or the default TextView that says 'Hello World!'. I tried restarting Android Studio, rebuild the project, and I…
0
votes
1 answer

Android Studio 3.2.1: transformDexArchiveWithExternalLibsDexMergerForDebug FAILED

I want to migrate to Android Studio 3.2.1 I my project/build.gradle: buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' // NOTE: Do not…
Alexei
  • 14,350
  • 37
  • 121
  • 240
0
votes
4 answers

Issue with colors.xml in Android Studio 3.2.1

Following is the awkward and incomplete colors.xml I get while trying to create an Android project using Android Studio 3.2.1. The error I get is D:\AndroidStudioWorkspace\PlayCardz\app\src\main\res\values\colors.xml:7:19: Error: XML document…
skip
  • 12,193
  • 32
  • 113
  • 153
0
votes
0 answers

AAPT2 aapt2-3.2.1-4818971-windows Daemon #0 - Error Often

I need you help and your support Now, I'm on procces to build my project mobile apps with android studio Why the R Layout always error once open the project and if try new project and R Layout can not be generated R layout. Could help me please to…
Syah Reza
  • 1
  • 1
0
votes
0 answers

Android Studio 3.2 project creation issue

I am creating new project with Android Studio 3.2, every time I create a new project either as blank activity, tabbed activity or any other type of project, project runs in error. I tried clean build or invalidating project & restarting android…
Sumit T
  • 1,273
  • 2
  • 17
  • 32
0
votes
0 answers

java.lang.RuntimeException Android Studio

When I try to run my code, I got some trouble. In build console-log: Caused by: java.lang.RuntimeException I tried to look at some solutions, but not work anymore. I down version of compileSdkVersion. cleans and re-build. But nothing change. Here…
TheZero
  • 260
  • 2
  • 4
  • 13
0
votes
1 answer

multiple res folders doesn't show inside android studio's project window

I declared multiple resource folders as the attached image below, It worked fine on Android Studio 3.1. But after upgrading to version 3.2.1 Android Studio didn't show me my custom res folders in the project window, although I still can build…
Linh Phan
  • 21
  • 1
  • 4
0
votes
1 answer

App debug gradle builds fail depending on target device

I cannot reliably build my app any more. With a perfectly unchanged project, builds consistently fail depending on the target device: OnePlus 6, Android 9.0: works S4 Active, Android 4.2.2: fails All tested emulators: work Debug Build without…
0
votes
1 answer

Android: specified AAPT2 executable does not exist: after adding kotlin support while creating app

Hi I have updated android studio to 3.2.1 recently, It is working fine with existing projects(java). Issue is when I am trying to create an new project (checking Include kotlin Support) then it is showing the following error build failed: Specified…
Uma Achanta
  • 3,669
  • 4
  • 22
  • 49
0
votes
2 answers

Failed to resolve dependencies in Android Studio

None of my .android dependencies are resolving. examples: Failed to resolve: com.android.support:appcompat-v7:28.1.0 Show in File Show in Project Structure dialog Failed to resolve: com.android.support:support-v4:28.1.0 Show in File Show in Project…
0
votes
2 answers

Build Failed because of duplicate value for resource 'attr/mode' with config

after I upgraded constraintLayout version from 1.1.2 -> 2.0.0-alpha2 I'm getting this error java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed …