Questions tagged [android-studio-3.1]

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].

185 questions
1
vote
0 answers

Can't seem to use IntelliJ feature

With the new release of Android Studio 3.1, I looked at the dev blog to see what was new. They actually added IntelliJ IDEA 2017.3 features, including "Chain completion aware of type casts". It seems really nice but I can't manage to get this…
1
vote
0 answers

Issue on Generating signed apk in Android Studio

I want to generate signed apk in android studio of my project but It is giving me error.I am new to android, please help me in this. Unable to find out whether the issue is with progaurd or build.gradle. Added my logs in the below section, please…
1
vote
2 answers

Can Application class be package-private?

My Application class code: import android.app.Application; import android.os.Process; import com.squareup.leakcanary.LeakCanary; public class SampleApplication extends Application { public SampleApplication() { super(); } …
Alexander Savin
  • 1,952
  • 1
  • 15
  • 30
1
vote
0 answers

Android Studio 3.1 Canary 6 build failed

After updating my canary 5 to 6, my projects syncs but won't build, both on Windows 10 and Mac iOS 10.13.2 android { compileSdkVersion 27 defaultConfig { vectorDrawables.useSupportLibrary = true applicationId "com.test" …
AeonDave
  • 781
  • 1
  • 8
  • 17
1
vote
1 answer

resource not found when including crosswalk into project

I've used xwalk project in mine for a while now. However, during the last round of library version upgrades, gradle doesn't like xwalk any more. Simply including it into my project compile 'org.xwalk:xwalk_core_library:19.49.514.5' will produce the…
0
votes
0 answers

Is there a way to keep quick documentation on one screen in newest version of Android Studio?

My setup is a main display set above my laptop screen. I've recently upgraded to the newest version of Android Studio Dolphin 2021.3.1 on Windows 11 after a couple months away and now the quick docs bleed down into my laptop screen: I've downgraded…
0
votes
1 answer

Android Studio Dolphin missing VCS menu

I can no longer find "Enable Version Control Integration" which is under VCS tab in Android Studio, looks like it was replace with Git but I can't see a way to enable version control with the new options. Does anyone know where to enable it or how…
Bitwise DEVS
  • 2,858
  • 4
  • 24
  • 67
0
votes
1 answer

The copy/paste/undo hot-keys don't work. Android Studio IDE

For some reason I cannot use the following: Ctrl + c (copy) Ctrl + v (paste) Ctrl + z (undo) In the settings I did the following: ( File > Settings > Keymap ) Reset Keymap. I chose a different type of keymaps (Windows, Gnome, NetBeans, and…
zartilas
  • 25
  • 7
0
votes
0 answers

How to fix " Could not find any version that matches com.android.support:appcompat-v7:29.+

how to fix "Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
hira
  • 1
  • 1
0
votes
0 answers

Fetching images and displaying in gridview

How do I select images from the memory and display those selected images dynamically across a gridview? Sorry if this is a duplicate thread because I couldn't find any solutions. If there are any other closed threads, please provide the link. Thank…
Emil Sharier
  • 343
  • 1
  • 2
  • 9
0
votes
0 answers

error: cannot access zzbfm class file for com.google.android.gms.internal.zzbfm not found (java location listener problem) app level build gradle

I get this error message: error: cannot access zzbfm class file for com.google.android.gms.internal.zzbfm not found Since i changed location listener parameters i'am encountering this error, i had to change cause it showed error previously…
0
votes
0 answers

How to change default dependencies implementations when starting new projects

When I create a new project the activity_main.xml file does not show the default "Hello World!" TextView. I found a video which corrected this by changing an "implementation" line in the build.gradle (Module:app) file. He changed the end of the…
0
votes
0 answers

Android studio3.1 : Exception in plugin Android Support

I have encountered problems in android studio, I created a project with android studio, and then open the activity_main_dawer.xml file in the menu directory, it will report an error, the error message is as follows, I tried the Clean Project and…
0
votes
2 answers

"import javax.websocket.*;" showing error on android studio

I'm trying to get some data from a trading platform (https://www.binary.com). The code samples for getting data from them is provided at the developers' site (https://developers.binary.com/demos/). Since I was using android studio, I opted for…
0
votes
0 answers

Android Studio debugger going to class file instead of source code

I am working on android app and using Cipher class to do some processing. Facing some problems in this, so want to stop the execution and put breakpoints in Cipher class. The problem is, I've the source code downloaded for the Cipher class (from…
Yash
  • 5,225
  • 4
  • 32
  • 65