Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Friday, February 10, 2017

How to assign permissions to open url on Android application?

The solution to view external url on webview object is to put or give Internet permission:
...
<uses-permission android:name="android.permission.INTERNET" />
...
This line should be at AndroidManifest.xml.

Best regards,


Wednesday, April 6, 2016

How to solve 'ANDROID_SDK_ROOT is undefined'?

After a brief reading over Internet using Android Studio 1.5 default installation, I have named several issues, one of them is the use of API 23 or Android 6 because of demo version the components are not well suited, several of the problems are solved executing ./android in the folder ~/Android/sdk/tools ,install the recommend SDK's like API 18 or below...

Try avd monitor we have following errors like:

emulator: ERROR: This AVD's configuration is missing a kernel file!!
emulator: ERROR: ANDROID_SDK_ROOT is undefined

The solution is to soaring ./android again and install sources of each API installed.