(Correction) Rive dependency looks like it breaks Android apps

You have some AdMob warnings:

upload/extension-admob/src/admob.cpp:316:14: warning: comparison of different enumeration types in switch statement ('enum ExtensionEventID' and 'dmExtension::EventID') [-Wenum-compare-switch]
        case dmExtension::EVENT_ID_ACTIVATEAPP:

But the errors seems to be Box2D related:

ld.lld: error: undefined symbol: b2Body::SetTransform(b2Vec2 const&, float)
>>> referenced by script_box2d_body.cpp:105 (../src/gamesys/scripts/box2d/script_box2d_body.cpp:105)
>>>               script_box2d_body.cpp.2.o:(dmGameSystem::Body_SetTransform(lua_State*)) in archive /var/extender/sdk/3be87d89fd5a93a63f527351fbedb84f8a875812/defoldsdk//lib/armv7-android/libscript_box2d.a

Please provide the following information:

  • Your list of project dependencies
  • Which Defold version you are using
  • Which build server you are using

Edit: My recommendation is to use Defold 1.9.1 (just released), the latest version of all dependencies and make sure to build with https://build.defold.com.

1 Like