Installation error: INSTALL_FAILED_OLDER_SDK

It is due to android:targetSdkVersion=”@string/app_name” in your manifiest file.Change it to: The targetSdkVersion should be an integer, but @string/app_name would be a string. I think this causing the error. EDIT:You have to add a default intent-filter in your manifiest file for the activity. Then only android can launch the activity. otherwise you will get the … Read more

React Native: JAVA_HOME is not set and no ‘java’ command could be found in your PATH

I’ll answer my own questions and sponfeed my fellow linux users: 1- To point JAVA_HOME to the JRE included with Android Studio first locate the Android Studio installation folder, then find the /jre directory. That directory’s full path is what you need to set JAVA_PATH to (thanks to @TentenPonce for his answer). On linux, you can set JAVA_HOME … Read more

Where to place the ‘assets’ folder in Android Studio?

Since Android Studio uses the new Gradle-based build system, you should be putting assets/ inside of the source sets (e.g., src/main/assets/). In a typical Android Studio project, you will have an app/ module, with a main/ sourceset (app/src/main/ off of the project root), and so your primary assets would go in app/src/main/assets/. However: If you need assets specific to a build type, such as debug versus release, you can create … Read more

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