We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38db054 commit 4718cd0Copy full SHA for 4718cd0
mode/src/processing/mode/android/Manifest.java
@@ -334,11 +334,11 @@ protected void load(boolean forceNew) {
334
335
XML activity = app.getChild("activity");
336
XML service = app.getChild("service");
337
- if (activity.getString("android:name").equals(".MainActivity")) {
+ if (activity != null && activity.getString("android:name").equals(".MainActivity")) {
338
addExportedAttrib(activity);
339
if (!forceNew) save();
340
}
341
- if (service.getString("android:name").equals(".MainService")) {
+ if (service != null && service.getString("android:name").equals(".MainService")) {
342
addExportedAttrib(service);
343
344
0 commit comments