2
« on: February 05, 2019, 11:00:55 pm »
I upgraded to stencyl 4.0 and noticed that I can no longer compile apk files.
Stencyl stated that I should download the android SDK but when I try it fails and gives and error:
java.lang.NullPointerException
at com.polydes.common.ui.propsheet.PropertiesSheetSupport$FieldInfo.access$200(PropertiesSheetSupport.java:168)
at com.polydes.common.ui.propsheet.PropertiesSheetSupport.updateField(PropertiesSheetSupport.java:99)
at stencyl.sw.prefs.FeaturesPage.createFeaturesPage(FeaturesPage.java:46)
at stencyl.sw.prefs.FeaturesPage.initComponents(FeaturesPage.java:35)
at stencyl.sw.prefs.BaseOptionPage.lazyInitialize(BaseOptionPage.java:33)
at com.jidesoft.dialog.AbstractPage.initialize(Unknown Source)
at stencyl.sw.prefs.PreferencesDialog.createContentPanel(PreferencesDialog.java:229)
at stencyl.sw.prefs.PreferencesDialog.<init>(PreferencesDialog.java:77)
at stencyl.sw.prefs.PreferencesDialog.<init>(PreferencesDialog.java:65)
at stencyl.sw.app.App.getPreferencesDialog(App.java:129)
at stencyl.sw.util.platform.android.AndroidToolchain.openPathsWindow(AndroidToolchain.java:101)
at stencyl.sw.util.platform.android.AndroidToolchain.checkAndroidSDK(AndroidToolchain.java:74)
at stencyl.sw.app.tasks.buildgame.AndroidGameBuilder.buildRequirementsMet(AndroidGameBuilder.java:41)
at stencyl.sw.app.tasks.buildgame.GameBuilder.run(GameBuilder.java:135)
at stencyl.sw.app.tasks.buildgame.GameBuilder.access$000(GameBuilder.java:54)
at stencyl.sw.app.tasks.buildgame.GameBuilder$1.callWhenDone(GameBuilder.java:118)
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:90)
at stencyl.sw.app.tasks.SaveGameTask.done(SaveGameTask.java:58)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Please what do I do? I have uninstalled and re-installed severally, I have tried JSE/JRE 6 and 8, no difference
Please assist , thanks