Skip to content

Instantly share code, notes, and snippets.

View alanjds's full-sized avatar

Alan Justino da Silva alanjds

  • Santo André, São Paulo/SP - Brazil
View GitHub Profile
@alanjds
alanjds / README
Last active August 29, 2015 14:06 — forked from tito/README
P4A_pyjnius_DIR=~/code/pyjnius ./distribute.sh -b minimal -m 'pyjnius python' -u pyjnius
cd .; ./build.py --package org.minimal.test --name _MINIMAL --version 1 --private ~/code/testmininal --asset debug installd
adb logcat *:S python:D
diff --git a/bootstrap/minimal/jni/main.c b/bootstrap/minimal/jni/main.c
index ca1a7de..252059e 100644
--- a/bootstrap/minimal/jni/main.c
+++ b/bootstrap/minimal/jni/main.c
@@ -1,5 +1,7 @@
#include <jni.h>
#include <errno.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <android/log.h>