Runtime error - no static method with name='callGetDefaultTextFieldPaddingInPixels"

Hi,

I’ve got a runtime error on Android devices.

12-18 10:54:45.967 I/Corona  (29599): Runtime error

12-18 10:54:45.967 I/Corona  (29599): /Users/jenkins/slaveroot/workspace/Enterprise/OS/xcode-6.1.1/release/release/platform/resources/init.lua:979: java.lang.NoSuchMethodError: no static method with name=‘callGetDefaultTextFieldPaddingInPixels’ signature=’(Lcom/ansca/corona/CoronaRuntime;)I’ in class Lcom/ansca/corona/NativeToJavaBridge;

Corona SDK version is 2014.2520.

Thanks to anyone who is able to help…

This sounds like an Android SDK “incremental build” issue.  You should be able to solve it by doing a “clean” build.

If you’re building from the command line, then just go to your Android app project directory and type in the following…

   ant clean

Then rebuild your app.

Edit:

I’ve also confirmed that native TextFields do work with Corona Enterprise build #2522.

Thanks Joshua!

This sounds like an Android SDK “incremental build” issue.  You should be able to solve it by doing a “clean” build.

If you’re building from the command line, then just go to your Android app project directory and type in the following…

   ant clean

Then rebuild your app.

Edit:

I’ve also confirmed that native TextFields do work with Corona Enterprise build #2522.

Thanks Joshua!