App crashes continusely

Hello, I build my android with gapps reading this thread.

What is different is

  1. — SU
  2. ++ usb gps : How to use USB GPS reciver on android M6?
  3. device property file name is vim2.

I can build and update. But all Apps I have download is not working and crashes continusely.

I really want to fix this problem. Please share me information to fix this problem. Best regards.

Did you try to build Gapps and SU on Android Nougat? How did you do it ?
BTW, please describe your problem in detail. Thanks.

Yes. I build Gaaps without SU on Nougat.
Here is diff.

diff --git a/kvim2/device.mk b/kvim2/device.mk
index 006d1c9..4b50088 100644
--- a/kvim2/device.mk
+++ b/kvim2/device.mk
@@ -58,3 +58,9 @@ $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-he
 # set default USB configuration
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
     persist.sys.usb.config=mtp
+
+PRODUCT_PROPERTY_OVERRIDES := \
+    ro.kernel.android.gps=ttyUSB0 \
+    ro.kernel.android.gpsttybaud=9600 \
+    ro.kernel.android.gps.max_rate=1
diff --git a/kvim2/kvim2.mk b/kvim2/kvim2.mk
index fd1d40a..f3ba7a4 100644
--- a/kvim2/kvim2.mk
+++ b/kvim2/kvim2.mk
@@ -336,3 +336,4 @@ PRODUCT_PACKAGES += \
     delta_generator \
     brillo_update_payload
 endif
+BUILD_WITH_GAPPS_CONFIG :=true

build with lunch kvim2-userdebug-64.

I can use Play store app but All apps I have downloaded stopped when launched.
It looks like app architecture of downloaded app is different from aarch64.

How do you download Gapps? You can according to the steps below to do it

  • Download the gapps file from github
$ cd <path-to-your-project>
$ cd vendor/amlogic
$ git clone https://github.com/terry2droid/google -b Nougat
  • Enable GAPPS by edit ‘device/khadas/kvim2/kvim2.mk’
BUILD_WITH_GAPPS_CONFIG :=true
  • Build your rom again
$ cd <path-to-your-project>
$ make  installclean
$ make  -jN otapackage
1 Like

I found that clone command on my history is not -b Nougat.(Master)

I checkout to origin/Nougat and build again now. Thank you very much.

Thank you for your answer. I build branch Nougat.But still app is crashes.

So, I will try ADB for check error.

And one mode question.
USB BURNING TOOL said
erase bootloader/switch status/enum device/enum error
when I check Erase Bootloader.

How can I fix this problems?

Best regards.

Did you can’t open Google play store? Can you describe it in detail?

Can you provide the bootloader information for me with TTL serial tool?

I can open play store and download applications. But they are crashes when I open it.(Soon)

Nothing displayed. just crash soon.

Ok. I will try it.