Issue libperfservice hotplug/cmd couldn't be open - android

I'm new on eclipse and android and I want for my first app do a wifi connection between the smartphone and an ip camera, unfortunately my app crash if when I want to see the stream of the camera.
My logcat said that:
03-06 18:11:26.879: E/(680): Could not open '/data/data/hotplug/cmd'<br/>
03-06 18:11:26.879: E/(680): error : 2, No such file or directory
[Edit k3b 2017-08-09]
I have the same issue on my andriod-4.4 my logcat contain this
08-09 20:38:40.436 1883-2035/? I/libPerfService: 1: set: 1
[ 08-09 20:38:40.436 1883:0x7f3 E/ ]
Could not open '/data/data/hotplug/cmd'
[ 08-09 20:38:40.436 1883:0x7f3 E/ ]
error : 2, No such file or directory
googleing "libPerfService" for found androidStudio log doesn't work
11-02 02:29:48.792 1014-1231/? I/libPerfService: 1: set freq: 1950000
11-02 02:29:48.792 1014-1231/? I/libPerfService: 1: set: 4
found https://census.tsyrklevich.net/file_permissions//system/lib/libperfservice.so with no description
Does anybody know where libPerfService comes from? is this a maleware waiting for command? I have not found any defintion for it.

Related

Template Application for running Azure Custom Vision Image Detection not working once I open the application

The template application I was using for running an image classifier model from Azure Custom Vision is not working when i try to build and run it first.
I tried building and running, as what the README.md said to test the application, but so far, i keep on getting errors that I hardly can even fathom. I expected this would run as said, but as I said, it kept on showing errors when I tried to open the app. The phone I'm using is a Huawei but I forgot the specific series and stuff. Here is the error log I got from just clicking on the app.
01/25 19:12:11: Launching 'app' on HUAWEI MED-LX9.
Install successfully finished in 5 s 540 ms.
$ adb shell am start -n "demo.tensorflow.org.customvision_sample/demo.tensorflow.org.customvision_sample.ClassifierActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 9677 on device 'huawei-med_lx9-PEVBB20423201126'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/omvision_sampl: Late-enabling -Xcheck:jni
E/omvision_sampl: Unknown bits set in runtime_flags: 0x8000
I/omvision_sampl: Reinit property: dalvik.vm.checkjni= false
I/omvision_sampl: ReInitProperties: persist.vm.debug.dumpapi= false
D/ActivityThread: Attach thread to application
D/HwFrameworkSecurityPartsFactory: HwFrameworkSecurityPartsFactory in.
I/HwFrameworkSecurityPartsFactory: add HwFrameworkSecurityPartsFactory to memory.
E/BehaviorCollectManager: Fail to acquire dataAnalyzerService...
I/omvision_sampl: The ClassLoaderContext is a special shared library.
I/omvision_sampl: QarthPatchMonintor::Init
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::StartWatch
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::WatchPackage: /data/hotpatch/fwkhotpatch/
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::CheckAndWatchPatch: /data/hotpatch/fwkhotpatch/demo.tensorflow.org.customvision_sample
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::CheckAndWatchPatch: /data/hotpatch/fwkhotpatch/all
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::Run
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::Reading
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::CheckNotifyEvent
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::CheckNotifyEvent before read
I/omvision_sampl:
I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=demo.tensorflow.org.customvision_sample#10169#256
I/HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=0 newCnt=1
I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=demo.tensorflow.org.customvision_sample#10169#0
I/HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=1 newCnt=1
I/AwareBitmapCacher: init processName:demo.tensorflow.org.customvision_sample pid=9677 uid=10169
E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile#be12549
I/iGraphics: [0020080c] pn: demo.tensorflow.org.customvision_sample, p: 9677
I/iGraphics: [0030050c] PV 10
I/iGraphics: [0030050c] no element 'igfx'
I/iGraphics: [0030050c] LoadCloudParams lib file success.
E/Parcel: Reading a NULL string not supported here.
E/GED: Failed to get GED Log Buf, err(0)
V/ActivityThread: callActivityOnCreate
D/tensorflow: CameraActivity: onCreate demo.tensorflow.org.customvision_sample.ClassifierActivity#f8dcd05
V/HwWidgetFactory: : successes to get AllImpl object and return....
I/DecorView[]: old windowMode:0 new windoMode:1
I/CameraManagerGlobal: Connecting to camera service
I/tensorflow: CameraActivity: Camera API lv2?: true
I/InterpreterApi: Loaded native library: tensorflowlite_jni
I/InterpreterApi: Didn't load native library: tensorflowlite_jni_gms_client
I/tflite: Initialized TensorFlow Lite runtime.
E/libc: Access denied finding property "ro.hardware.chipname"
W/omvision_sample: type=1400 audit(0.0:6423): avc: denied { read } for pid=9677 name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=14884 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
I/tflite: Created TensorFlow Lite XNNPACK delegate for CPU.
I/tflite: Replacing 39 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 1 partitions.
D/AndroidRuntime: Shutting down VM
I/QarthLog: [PatchStore] createDisableExceptionQarthFile
I/QarthLog: [PatchStore] create disable file for demo.tensorflow.org.customvision_sample uid is 10169
E/AndroidRuntime: FATAL EXCEPTION: main
Process: demo.tensorflow.org.customvision_sample, PID: 9677
java.lang.RuntimeException: Unable to start activity ComponentInfo{demo.tensorflow.org.customvision_sample/demo.tensorflow.org.customvision_sample.ClassifierActivity}: ai.customvision.visionskills.VisionSkillsException: {"NativeRuntimeError":"Skill[Classifier] Build Exception <JNIWrapperException: Failed to load model; Model name = <sample-tflite.cvmodel/cvexport.manifest>; details: java.lang.IncompatibleClassChangeError: Found interface org.tensorflow.lite.Tensor, but class was expected (declaration of 'org.tensorflow.lite.Tensor' appears in /data/app/demo.tensorflow.org.customvision_sample-ujz1FIumEghqzxaDGOhliw==/base.apk)>"}
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3897)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4076)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2473)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8349)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)
Caused by: ai.customvision.visionskills.VisionSkillsException: {"NativeRuntimeError":"Skill[Classifier] Build Exception <JNIWrapperException: Failed to load model; Model name = <sample-tflite.cvmodel/cvexport.manifest>; details: java.lang.IncompatibleClassChangeError: Found interface org.tensorflow.lite.Tensor, but class was expected (declaration of 'org.tensorflow.lite.Tensor' appears in /data/app/demo.tensorflow.org.customvision_sample-ujz1FIumEghqzxaDGOhliw==/base.apk)>"}
at ai.customvision.visionskills.VisionSkillsManager.throwIfJNIFailed(VisionSkillsManager.java:24)
at ai.customvision.visionskills.VisionSkillsManager.SkillConfigurationBuild_orThrow(VisionSkillsManager.java:553)
at ai.customvision.visionskills.VisionSkillsManager.skillConfigurationBuild(VisionSkillsManager.java:309)
at ai.customvision.visionskills.ConfigurationBase.build(ConfigurationBase.java:41)
at ai.customvision.visionskills.CVSClassifier$Configuration.build(CVSClassifier.java:64)
at demo.tensorflow.org.customvision_sample.MSCognitiveServicesCustomVisionClassifier.<init>(MSCognitiveServicesCustomVisionClassifier.java:51)
at demo.tensorflow.org.customvision_sample.ClassifierActivity.onCreate(ClassifierActivity.java:54)
at android.app.Activity.performCreate(Activity.java:8085)
at android.app.Activity.performCreate(Activity.java:8073)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3870)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4076) 
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91) 
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149) 
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2473) 
at android.os.Handler.dispatchMessage(Handler.java:110) 
at android.os.Looper.loop(Looper.java:219) 
at android.app.ActivityThread.main(ActivityThread.java:8349) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) 

Android studio 3.1.4 compilation error: "E/vold: Failed to chmod /data/system_ce/0: No such file or directory"

I am trying to compile the android app and getting this error, tried cleaning, rebuilding, deleting and creating new AVD but nothing working, help would be appreciated
08-30 12:52:20.508 1507-1518/? E/vold: Failed to chmod /data/system_ce/0: No such file or directory
Failed to chmod /data/misc_ce/0: No such file or directory
Failed to chmod /data/media/0: No such file or directory
08-30 12:52:32.317 1810-1828/? E/BatteryExternalStatsWorker: no controller energy info supplied for telephony
08-30 12:52:32.323 1810-1828/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
08-30 12:52:32.412 1810-1832/? E/LocalDisplayAdapter: Default and active color mode is no longer available! Reverting to first available mode.
08-30 12:52:33.696 1675-1780/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
08-30 12:52:34.031 1810-1822/? E/SystemServer: Unable to preload default resources
08-30 12:52:36.132 1507-1516/? E/vold: Failed to read field SystemLocale: Success
08-30 12:52:36.134 1810-1888/? E/StorageManagerService: Failed to read field SystemLocale
android.os.ServiceSpecificException: Failed to read field SystemLocale (code 0)
at android.os.Parcel.createException(Parcel.java:1956)
at android.os.Parcel.readException(Parcel.java:1910)
at android.os.Parcel.readException(Parcel.java:1860)
at android.os.IVold$Stub$Proxy.fdeGetField(IVold.java:1094)
at com.android.server.StorageManagerService.getField(StorageManagerService.java:2408)
at com.android.server.StorageManagerService.copyLocaleFromMountService(StorageManagerService.java:982)
at com.android.server.StorageManagerService.handleDaemonConnected(StorageManagerService.java:975)
at com.android.server.StorageManagerService.access$900(StorageManagerService.java:171)
at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:572)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.os.HandlerThread.run(HandlerThread.java:65)
08-30 12:52:36.960 1810-1810/? E/UsbDeviceManager: failed to write to /sys/class/android_usb/android0/f_rndis/ethaddr
08-30 12:52:36.969 1810-1810/? E/UsbDeviceManager: Failed to open control for mtp
Failed to open control for mtp
08-30 12:52:36.988 1810-1810/? E/UsbDeviceManager: Error initializing UsbHandler
java.io.FileNotFoundException: /sys/class/android_usb/android0/state (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:231)
at java.io.FileInputStream.<init>(FileInputStream.java:165)
at android.os.FileUtils.readTextFile(FileUtils.java:514)
at com.android.server.usb.UsbDeviceManager$UsbHandlerLegacy.<init>(UsbDeviceManager.java:1375)
at com.android.server.usb.UsbDeviceManager.<init>(UsbDeviceManager.java:297)
at com.android.server.usb.UsbService.<init>(UsbService.java:139)
at com.android.server.usb.UsbService$Lifecycle.onStart(UsbService.java:73)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:126)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:113)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:72)
at com.android.server.SystemServer.startOtherServices(SystemServer.java:1299)
at com.android.server.SystemServer.run(SystemServer.java:431)
at com.android.server.SystemServer.main(SystemServer.java:294)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
08-30 12:52:36.996 1810-1810/? E/UsbPortManager: connectToProxy: usb hal service not found. Did the service fail to start?

Android APK - differences in Linux vs. Windows

I am using 2 build environments in parallel: Windows and Ubuntu.
When I build APK in Windows (via command line) - the APK is fine and runs great.
But when I build exactly the same project on Ubuntu - it fails (running on the same Android device).
I clone the project from the same git repository, and during the gradle build - I receive the one-to-one same messages.
Have no idea where I should start digging.
Any advise will be appreciated.
BTW, I have run-time logs from both APK's:
The logs:
============ Linux ============
08-16 09:02:35.455 5866-5975/com.growdirector.tabletapp.growdirectorapp D/JVM: JNIEnvironment::RegisterNatives(org/webrtc/voiceengine/WebRtcAudioManager)
NativeRegistration::ctor#[tid=5975]
NativeRegistration::NewObject#[tid=5975]
08-16 09:02:35.455 5866-5975/com.growdirector.tabletapp.growdirectorapp W/System.err: java.lang.NoSuchMethodError: no non-static method "Lorg/webrtc/voiceengine/WebRtcAudioManager;.<init>(Landroid/content/Context;J)V"
08-16 09:02:35.456 5866-5975/com.growdirector.tabletapp.growdirectorapp E/rtc: #
# Fatal error in ../../webrtc/modules/utility/source/helpers_android.cc, line 51
# last system error: 0
# Check failed: !jni->ExceptionCheck()
# Error during GetMethodID: <init>, (Landroid/content/Context;J)V
#
========================================================
======== WIN =========================================
08-14 19:06:15.210 2483-2656/com.growdirector.tabletapp.growdirectorapp D/JVM: JNIEnvironment::RegisterNatives(org/webrtc/voiceengine/WebRtcAudioManager)
NativeRegistration::ctor#[tid=2656]
NativeRegistration::NewObject#[tid=2656]
08-14 19:06:15.211 2483-2656/com.growdirector.tabletapp.growdirectorapp I/org.webrtc.Logging: WebRtcAudioManager: ctor#[name=Thread-318, id=318]
08-14 19:06:15.213 211-838/? D/AudioFlinger_Threads: thread 0xad4c0000 type 0 TID 838 waking up
08-14 19:06:15.213 211-840/? D/AudioFlinger_Threads: thread 0xad200000 type 0 TID 840 waking up
08-14 19:06:15.214 211-838/? D/AudioALSAStreamOut: latency(), flags 2, return 23
08-14 19:06:15.214 211-840/? D/AudioALSAStreamOut: latency(), flags 4, return 10
08-14 19:06:15.214 801-1380/? D/PowerManagerService: acquireWakeLockInternal: lock=137038916, flags=0x1, tag="AudioMix", ws=null, uid=1013, pid=0
updateWakeLockSummaryLocked: mWakefulness=Awake, mWakeLockSummary=0x1
08-14 19:06:15.214 2483-2568/com.growdirector.tabletapp.growdirectorapp D/AudioSystem: getIoDescriptor: ioHandle = 2, index = -2, mIoDescriptors = 0x9db88218
======================================================
Thanks!

Android Studio 3.1.2 logcat won't stop spamming information

This just started happening recently and it has gotten progressively worse. I was initially alerted when I saw a couple calls to the Facebook API when my app had nothing to do with FB whatsoever.
Things I tried that (temporarily) helped:
- Closing all tabs in Chrome
- Closing all open applications
- Selecting "Show only selected application" option
Note. My app isn't even running. This happens as soon as I open Android Studio and plug my phone in. I get roughly 1,000 log/30 minutes.
Example 1
Example 2
08-11 13:08:53.087 2099-2099/? I/wpa_supplicant: RRM: Ignoring radio measurement request: Not RRM network
08-11 13:08:53.566 1626-1626/? D/HeadsetPhoneState: sendDeviceStateChanged. mService=1 mIsSimStateLoaded=true mSignal=2 mRoam=0 mBatteryCharge=4
08-11 13:08:55.629 1105-1142/? I/WifiService: requestActivityInfo uid=1000
08-11 13:08:55.630 1105-1142/? I/WifiService: reportActivityInfo uid=1000
getSupportedFeatures uid=1000
08-11 13:08:55.636 1954-1954/? E/QtiImsExtUtils: getConfigForPhoneId phoneId is invalid
isCarrierConfigEnabled bundle is null
08-11 13:09:12.433 2453-2453/? I/clatd: Detecting NAT64 prefix from DNS...
08-11 13:09:12.658 1751-1789/? I/QcrilOemhookMsgTunnel: [0]processOemHookIndication length=21
08-11 13:09:12.659 1751-1751/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 0
08-11 13:09:12.665 15401-15415/? V/QMI_OEMHOOK: Thread=ModemService received { when=0 what=0 obj=android.os.AsyncResult#862fe81 target=com.qualcomm.qcrilhook.QmiOemHook }
08-11 13:05:00.210 2554-2554/? I/BeaconBle: Starting scan on OS scanner. BT state: 12
08-11 13:05:00.212 2554-2554/? D/BluetoothAdapter: isLeEnabled(): ON
08-11 13:05:00.214 1105-1795/? I/ActivityManager: Start proc 25103:com.cvs.launchers.cvs/u0a161 for broadcast com.cvs.launchers.cvs/com.ibm.mce.sdk.wi.AlarmReceiver
08-11 13:05:00.215 1105-1541/? D/RecurrenceRule: Resolving using anchor 2018-08-11T13:05:00.215-04:00[America/New_York]
08-11 13:05:00.217 1626-2168/? I/bt_stack: [INFO:gatt_api.cc(1004)] GATT_Register
[INFO:gatt_api.cc(1027)] allocated gatt_if=5
08-11 13:05:00.218 2554-18778/? D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0
08-11 13:05:00.221 1105-1541/? D/RecurrenceRule: Cycle 18 from 2018-07-19T00:00-04:00[America/New_York] to 2018-08-19T00:00-04:00[America/New_York]
08-11 13:05:00.222 1105-1541/? D/NetworkStats: Resolving plan for NetworkTemplate: matchRule=MOBILE_ALL, subscriberId=311480..., matchSubscriberIds=[311480...]
Your selecected filter Show only selected application will only work if a process is selected. Just select your process when your app is running where it currently says No Debuggable Processes.
The output shown in your screenshot is the log of the whole device, including logs of the system and other apps.
Logcat shows logs in general, so if you want to see just specific app, you got app filter above the list. Also theres text filter if given app is too noisy as well

Python requests module error, 'temporary failure in name resolution' in kivy Android app

Built with buildozer using:
Python 2.7.12
Kivy 1.10.0
Cython 0.25.2
My app is a simple test app that continuously checks an API I created with AWS API-Gateway/lambda for a changes in a returned value and alerts me.
The program runs fine with kivy on my ubuntu and mac desktops, I can hit the API no problem, but once the apk is built and put on my phone it doesn't work correctly and dies as soon as I hit a button to trigger the api checks. I've tested on 2 phones, Android 6 and 7.
Example of the check, I'm not doing anything crazy, and as I said it works from my desktop machine. (I've scrambled the API address below)
api = 'https://34kjh545df.execute-api.us-east-1.amazonaws.com/test/dar_status'
getApi = requests.get(darUI.api)
check = getApi.text
return check
Using adb logcat I've grabbed the log output from when I press the button.
This is the line saying there is a DNS issue, but I can hit the API fine on my phone in the browser.
02-04 10:31:32.995 14079 14094 I python : requests.exceptions.ConnectionError: HTTPSConnectionPool(host='34kjh545df.execute-api.us-east-1.amazonaws.com', port=443): Max retries exceeded with url: /test/dar_status (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xdeb44ff0>: Failed to establish a new connection: [Errno 2] temporary failure in name resolution.',))
The rest of the log around that period.
02-04 10:31:32.987 14079 14094 I python : File "/work/dar/.buildozer/android/app/main.py", line 96, in my_callback
02-04 10:31:32.988 14079 14094 I python : File "/work/dar/.buildozer/android/app/main.py", line 79, in api_check
02-04 10:31:32.988 14079 14094 I python : File "/work/dar/.buildozer/android/platform/build/dists/testApp/private/lib/python2.7/site-packages/requests/api.py", line 70, in get
02-04 10:31:32.988 14079 14094 I python : File "/work/dar/.buildozer/android/platform/build/dists/testApp/private/lib/python2.7/site-packages/requests/api.py", line 56, in request
02-04 10:31:32.993 14079 14094 I python : File "/work/dar/.buildozer/android/platform/build/dists/testApp/private/lib/python2.7/site-packages/requests/sessions.py", line 488, in request
02-04 10:31:32.994 14079 14094 I python : File "/work/dar/.buildozer/android/platform/build/dists/testApp/private/lib/python2.7/site-packages/requests/sessions.py", line 609, in send
02-04 10:31:32.994 14079 14094 I python : File "/work/dar/.buildozer/android/platform/build/dists/testApp/private/lib/python2.7/site-packages/requests/adapters.py", line 487, in send
02-04 10:31:32.995 14079 14094 I python : requests.exceptions.ConnectionError: HTTPSConnectionPool(host='34kjh545df.execute-api.us-east-1.amazonaws.com', port=443): Max retries exceeded with url: /test/dar_status (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xdeb44ff0>: Failed to establish a new connection: [Errno 2] temporary failure in name resolution.',))
02-04 10:31:33.058 14079 14094 I python : Python for android ended.
02-04 10:31:33.062 2815 2839 V WindowManager: Changing focus from Window{a4f9629 u0 testApp.darapp.testApp/org.kivy.android.PythonActivity} to null Callers=com.android.server.wm.WindowManagerService.setFocusedApp:4299 com.android.server.am.ActivityManagerService.setFocusedActivityLocked:2934 com.android.server.am.ActivityStackSupervisor.moveHomeStackTaskToTop:538 com.android.server.am.ActivityStack.adjustFocusedActivityLocked:2868
02-04 10:31:33.062 2815 2839 D ActivityTrigger: ActivityTrigger activityPauseTrigger
02-04 10:31:33.062 2815 2932 I WindowManager: Losing focus: Window{a4f9629 u0 testApp.darapp.testApp/org.kivy.android.PythonActivity}
02-04 10:31:33.062 2815 2839 I ActivityManager: startPausingLocked.updateThumbnail is run here
02-04 10:31:33.063 14079 14079 V SDL : onWindowFocusChanged(): false
02-04 10:31:33.072 2815 2839 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="*launch*", packageName=android, ownerUid=1000, ownerPid=2815, workSource=WorkSource{10235}
02-04 10:31:33.073 14079 14079 V PythonActivity: onPause()
02-04 10:31:33.073 14079 14079 V SDL : onPause()
02-04 10:31:33.073 14079 14079 V SDL : nativePause()
02-04 10:31:33.073 14079 14079 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 14079 (testApp)
I'm wondering if there is another module or something I need to include in the buildozer build?
requirements = kivy, requests, openssl
At the moment I have no idea what it could be and if anyone has an idea I'd appreciate any help.
Thanks.
So I discovered the issue, I didn't give the app permissions to access the Internet in buildozer.
In buildozer.spec I uncommented the line below.
# (list) Permissions
android.permissions = INTERNET

Categories

Resources