Skip to content

Instantly share code, notes, and snippets.

View FeralBytes's full-sized avatar
💭
Programming

FeralBytes

💭
Programming
View GitHub Profile
@FeralBytes
FeralBytes / abd logcat
Created September 16, 2018 06:06
Proof that JavaClassWrapper.wrap() is getting classes from the JNI Env
09-15 22:01:07.630 27212 27226 I godot : Toast in 2 seconds.
09-15 22:01:09.610 27212 27226 I godot : #### Do Toast!
09-15 22:01:09.690 27212 27226 F art : art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: illegal class name 'android.widget.Toast'
09-15 22:01:09.690 27212 27226 F art : art/runtime/java_vm_ext.cc:410] (should be of the form 'package/Class', [Lpackage/Class;' or '[[B')
09-15 22:01:09.690 27212 27226 F art : art/runtime/java_vm_ext.cc:410] in call to FindClass
09-15 22:01:09.690 27212 27226 F art : art/runtime/java_vm_ext.cc:410] from void org.godotengine.godot.GodotLib.step()
09-15 22:01:09.690 27212 27226 F art : art/runtime/java_vm_ext.cc:410] "GLThread 3055" prio=5 tid=10 Runnable
09-15 22:01:09.690 27212 27226 F art : art/runtime/java_vm_ext.cc:410] | group="main" sCount=0 dsCount=0 obj=0x12e94080 self=0x80515ac0
09-15 22:01:09.690 27212 27226 F art : art/runtime/java_vm_ext.cc:410] | sysTid=27226 nice=0 cgrp=default sched=0/
@FeralBytes
FeralBytes / logcat.txt
Created September 28, 2017 01:16
Kivy Chicken & Egg Android Emulator Problem
adb install -r EzTunes-0.2.0-debug.apk && adb logcat -c && adb logcat | grep -e "I s1" -e "I python" -e "I/s1" -e "I/python"
1169 KB/s (11429325 bytes in 9.546s)
pkg: /data/local/tmp/EzTunes-0.2.0-debug.apk
Success
I/python ( 1278): Initialize Python for Android
I/python ( 1278): Changing directory to the one provided by ANDROID_ARGUMENT
I/python ( 1278): /data/data/com.feralbytes.eztunes/files/app
I/python ( 1278): Preparing to initialize python
I/python ( 1278): crystax_python does not exist
I/python ( 1278): Initialized python
@FeralBytes
FeralBytes / main.py
Last active February 13, 2017 02:10 — forked from quintopia/main.py
from kivy.app import App
from kivy.uix.widget import Widget
from kivy.uix.scatter import Scatter
from kivy.core.window import Window
from kivy.uix.floatlayout import FloatLayout
Window.clearcolor = (1, 1, 1, 1)
class TextSquare(Widget):
pass
@FeralBytes
FeralBytes / Crystax NDK: 'requirements': 'hostpython2, kivy, ffpyplayer, openssl, ffpyplayer_codecs, transitions, youtube-dl'
Last active February 13, 2017 19:28
Build Attempts for ffpyplayer using installed version of P4A=germn@ffpyplayer_new_toolchain
python3 setup_SDL2_crystax_py2.py apk
###################################################################
Command: ['rm', '-rf', '/home/wolfrage/.local/share/python-for-android/build'] | Completed.
###################################################################
Packages are ['eztunes']
Package Data is: {'eztunes/service': ['*.py'], 'eztunes/resources/screens': ['*.py', '*.kv'], 'eztunes/resources/images/testing': ['*.png'], 'eztunes': ['*.py', '*.kv', '*.gif']}
running apk
Including eztunes/service/service.py
Including eztunes/service/ServiceLogic.py
Including eztunes/resources/screens/Main.py