Skip to content

Commit 4701523

Browse files
committed
Exclude launcher files explicitly
If only Project*.java is used, it discards even Project.java, which results in 'not found' in PythonActivity.java and stops compilation. Same thing will happen if you try to separate it to a package (org.kivy.launcher), but with more pain while trying to fix it.
1 parent c70dde2 commit 4701523

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythonforandroid/bootstraps/sdl2/build/templates/custom_rules.tmpl.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<fileset dir="src" includes="**" />
77
{% else %}
88
<fileset dir="src">
9-
<exclude name="org/kivy/android/Project*.java" />
9+
<exclude name="org/kivy/android/ProjectAdapter.java" />
10+
<exclude name="org/kivy/android/ProjectChooser.java" />
1011
</fileset>
1112
{% endif %}
1213
{% for dir, includes in args.extra_source_dirs %}

0 commit comments

Comments
 (0)