Android Studio 3.0 Manifest Error: unknown element found

You have a misplaced tag. The new AAPT (AAPT2) now throws an error on this. From the docs in here: https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html Behavior changes when using AAPT2 To improve incremental resource processing, Android plugin 3.0.0 enables AAPT2 by default. Although AAPT2 should immediately work with older projects, this section describes some behavior changes that you should … Read more

Create System Application

Ok, I think that I find sollution from great xda developers: http://forum.xda-developers.com/showthread.php?t=1776095 here is full description how to obtain access to apps signed by platform keys. Do you apply with this approach? PS it is interesting that users from stack instead of investigating hard problem immediately say that you can not solve it, then reduce … Read more

Android: automatically choose debug/release Maps v2 api key?

Using build.gradle buildTypes { debug { buildConfigField(“String”, “map_api_key”, “\”your debug map api key here\””) } release { buildConfigField(“String”, “map_api_key”, “\”your release map api key here\””) } } I solved this issue using this steps: In Google Developer API Console Click on Create New Android key… In cmd.exe/Terminal: keytool -list -v -keystore mystore.keystore Password: android Now … Read more

adjustPan not preventing keyboard from covering EditText

After doing a lot of searching apparently it’s what I’m calling a bug. If you use the fullscreen tag (to remove the status bar from the activity) you can’t use “adjustResize” without wrapping the activity in a ScrollView. Unfortunately for me I’m using a ListView which would create yet another problem. I’m sick of messing … Read more

How to set my Activity as main activity in android? [duplicate]

In your manifest file , use the below code to declare an activity as a launcher activity: <activity android:name=”.yourActivityName” > <intent-filter> <action android:name=”android.intent.action.MAIN” /> <category android:name=”android.intent.category.LAUNCHER” /> </intent-filter> </activity> From Android Developer docs: ACTION_MAIN activity: Start up as the initial activity of a task, with no data input and no returned output. CATEGORY_LAUNCHER: The activity … Read more

Widget onUpdate called when Configuration Activity is launched

Providing an answer after digging into the source code: 1) This is expected behavior see here This method is also called when the user adds the App Widget 2) Seems you have found your own answer. For others looking for the docs go here Note: Updates requested with updatePeriodMillis will not be delivered more than … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)