Questions tagged as 'android-studio'

1
answer

how to know the latest version of a library (dependency) from Google for Android Studio

Generally, when we use features in Android Studio, you need to include libraries, example of a build.gradle (Module: app) file: dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.suppor...
asked by 28.01.2018 / 23:17
1
answer

Android Gradle - Error: Unsupported method: BaseConfig.getApplicationIdSuffix ()

When importing a Github project using < strong> Android Studio 3.0.1 I got the following error in Gradle:    Error: Unsupported method: BaseConfig.getApplicationIdSuffix (). The   version of Gradle you connect to does not support that meth...
asked by 27.01.2018 / 04:18
2
answers

How to use only the Android Studio Interface Editor?

I program for Android with Xamarin on Visual Studio , but I do not short anything its design editor, how can I use only the Android Studio editor when I need it? I changed the design extension from .axml to ....
asked by 03.11.2017 / 22:42
1
answer

Organizing photos of the application in folder

I have the following code snippet to define the description of the photos that my application will take and where the photos will be saved. private File criarArquivo() throws IOException { String descricao = new SimpleDateFormat("dd_MM_yyyy...
asked by 18.04.2017 / 16:34
2
answers

How to install / run a signed app in order to see the error log?

I'm developing an app and testo direct on the mobile (LGE API Level 16). When testing, perform normal. But when I generated a signed apk, and I try to install that apk on the same phone it just says: Application not installed. This happene...
asked by 18.06.2017 / 22:16
1
answer

Android - Error with setContentView (R.layout.Principal);

Good afternoon, I am having problems with setContent it reports the following error: Can not resolve symbol 'Principal' This is occurring at -> protected void onCreate(Bundle savedInstanceState) { This 'Main' file is in: app - > re...
asked by 14.12.2016 / 17:30
1
answer

Scroll View in Android Studio, Basic Question

I have a very basic question, how do I see the content that is below the ScrollView visible in the editor itself? Since content that exceeds the selected resolution does not appear?     
asked by 13.12.2016 / 20:52
1
answer

SVG icon created with Inkscape is not properly imported

With Inkscape application, I'm trying to create my own custom icons in SVG and then import them into Android Studio. When importing to Android Studio I get the following error message ERROR@ line 29 <defs> is not supported WARNING@ line...
asked by 11.07.2016 / 15:22
2
answers

When I install apk it is installing the app more than once

I'm using Android Studio, while I run the emulate to install the apk, during installation occurs to install more than once the app, getting two icons (two apps). How do I resolve this?     
asked by 01.08.2016 / 02:37
1
answer

Duplicate but different files

Well, there is an error in my application by Android Studio. And the problem is, the interface says that there are two files that are duplicates, however they are apparently different. I've also tried deleting them, however, by deleting File1, d...
asked by 05.08.2016 / 13:32