Skip to main content
raimoh
Participant
March 18, 2019
Question

Android system-app crashes at startup

  • March 18, 2019
  • 1 reply
  • 320 views

Dear community,

I am trying to integrate an app build with Adobe Animate as system app into a custom build Android (8.1 Oreo).

Unfortunately, the app immediately crashes during startup ("App has stopped"). However, if I install the app afterwards inside the custom build Android system everything works fine.

I am using the following Android.mk-file:

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_MODULE := testapp

LOCAL_CERTIFICATE := platform

LOCAL_SRC_FILES := testapp.apk

LOCAL_MODULE_CLASS := APPS

LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)

include $(BUILD_PREBUILT)

Any ideas why this is not working?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 15, 2019

what's a system app?

what happens when you use a standard android os?

raimoh
raimohAuthor
Participant
May 9, 2019

As system app I am referring to an app already being integrated in the android build. So after compiling android from source the application is already installed.

In that case any air application I tested crashes at startup. If I install the app afterwards (after building) everything works. Any ideas why?

kglad
Community Expert
Community Expert
May 10, 2019

no.