How to make Android apps which support both 32-bit and 64-bit architecture?

According to an official email sent by the Google Play Team, the action required is: If you haven’t yet, we encourage you to begin work for the 64-bit requirement as soon as possible. Many apps are written entirely in non-native code (e.g. the Java programming language or Kotlin) and will not need code changes. Please … Read more

Getting warning “NDK is missing a ‘platforms” directory.’ with no NDK [duplicate]

Please refer to these two links: How to fix android studios 2.3 NDK bug? https://github.com/requery/requery/issues/467 This is caused by upgrading to Android gradle plugin 2.3 (com.android.tools.build:gradle:2.3.0). In previous versions of the plugin the databinding package name (where the BR file is generated) was provided on an annotation in a generate file. In the new version … Read more

Android studio Where to install NDK file? (downloaded it in zip)

Yes, rename the extracted folder android-ndk-r13b(probably the exact name will be outdated someday soon) to ndk-bundle (you can put the NDK [and SDK for that matter] anywhere, and leave the name alone if you want {do not do this, I’m sure seen one case of hard-coded sub-path}), then, make the settings point to the location … Read more

Want to compile native Android binary I can run in terminal on the phone

Just use the android-ndk. And build a Android.mk like so. include $(BUILD_EXECUTABLE) is what tells it build a executable instead of a JNI .lib Android.mk ifneq ($(TARGET_SIMULATOR),true) LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_CFLAGS += -Wall LOCAL_LDLIBS := -L$(LOCAL_PATH)/lib -llog -g LOCAL_C_INCLUDES := bionic LOCAL_C_INCLUDES += $(LOCAL_PATH)/include LOCAL_SRC_FILES:= main.cpp LOCAL_MODULE := mycmd include $(BUILD_EXECUTABLE) endif # … Read more

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