Questions tagged as 'android-studio'

1
answer

Android message appears in the security configuration log

I have an application that does query data in a WebService using JSON. When I run my application I get the following message in the logs: D/NetworkSecurityConfig: No Network Security Config specified, using platform default Is this an error...
asked by 13.05.2018 / 23:30
1
answer

Error: android.widget.LinearLayout can not be cast to android.widget.GridLayout

I'm trying to make an android app that lists the components coming from the bank. The error is as follows:    AndroidRuntime: java.lang.ClassCastException: android.widget.LinearLayout can not be cast to android.widget.GridLayout FILE N...
asked by 14.09.2018 / 05:33
1
answer

Error Kotlin does not find bytecode for lambda function: "Failed to find byte code for java / util / function / BiConsumer"

When I try to run my app on my phone (the same thing happens in the emulator), the following error occurs: Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformClassesWithInstantRunForDeb...
asked by 29.12.2017 / 13:41
2
answers

Android Studio does not recognize images

People,myAndroidStudiohereisnotrecognizingtheimagesIputinthedrawablefolder.Idraggedsiximagesthere,threeofthemIcouldaccessnormally,theotherthreeIcannot.Anyidea?TotestItriedtoaddotherimagesandaccessthemandIcouldnot.Theyareallpng,alllowercasename...
asked by 02.02.2018 / 15:24
1
answer

Error compiling ionic - Android

Alright? I'm having trouble compiling APK for ionic. I already removed Android Studio and downloaded it again. But it did not work. If I try to compile the terminal for the error, but if I import the gradle project to Android Studio it compil...
asked by 09.11.2017 / 12:34
1
answer

Error: "Psi and index do not match" Android Studio

Sometimes when cloning a new branch project or downloading a new code it builda successfully but does not recognize most of the functions of the android itself in the app. In%% error appears "Psi and index do not match"     
asked by 20.06.2017 / 16:32
1
answer

Back in Webview

I have an application with webview and I wish that when I clicked the back button of the cell phone it would go back to the previous page, I do not know how I do, does anyone help me? Below is my code. package brasil500.brasil500; import a...
asked by 08.06.2017 / 04:18
1
answer

Help with apk android studio

I'm compiling my application in android studio and not the error at all. in the simulator I see the application normally. when I go to the folder where the application is C: \ Users \ Ronaldo \ Desktop \ Android \ Test \ app \ build \ outputs \...
asked by 07.08.2017 / 21:41
1
answer

Android - Generate Apk

How do I generate apk in Android Studio? 1.0 - I went to Build - > Build APK. 1.1 - On completion I put it on the smartphone and gave the following error: There is a problem analyzing the package. 2.0 - I was in Generate Signed APK I...
asked by 11.01.2017 / 14:21
3
answers

Error: Failed to find 'ANDROID_HOME' environment variable

I am a beginner in mobile development and was studying IONIC, when I was trying to generate the test project apk gave the following error:    WARN: ionic.project has been renamed to ionic.config.json, please   rename it Running command:   /ho...
asked by 08.01.2017 / 18:59