Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Activity popup causing me build problems.
Started by ammar71 Aug 04 2019 12:14 PM

3 replies to this topic
activity popup

Best Answer ammar71 , 04 August 2019 - 01:42 PM

The Activity popup si for iOS only Android should not be trying to build this. Can you post your build.settings?

 

It might be useful to add the supportedPlatforms={"iphone"} to that entry in your build.settings.

 

Adding the supportedPlatforms field worked and the build was successful, but now the app crashes with a runtime error:

module 'CoronaProvider.native.popup.activity' not found.

 

in my code I have:

local activity = require( "CoronaProvider.native.popup.activity" )

I solved it by checking the platform and conditionally calling that only on iOS.

 

Thanks Rob.

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

ammar71

[GLOBAL: userInfoPane.html]
ammar71
  • Enthusiast

  • 86 posts
  • Corona SDK

Hello,

 

I am trying to build a project but it is failing. The project has the "CoronaProvider.native.popup.activity" in the build settings. If I remove that from the settings the build is successful.

The log for the failed build is here if anyone can have a look at it please:

 

https://pastebin.com/1mEfVTdL

 

Also, after the build fails (or succeeds), the simulator is stuck, with "Build Progress" showing "Packaging App..". If I click on the stop button, it changes to "Stopping build" but it is stuck there and I can't use the simulator or close it. The only way is to force shut it from the task manager.



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,534 posts
  • Enterprise

The Activity popup si for iOS only Android should not be trying to build this. Can you post your build.settings?

 

It might be useful to add the supportedPlatforms={"iphone"} to that entry in your build.settings.



[TOPIC: post.html]
#3

ammar71

[GLOBAL: userInfoPane.html]
ammar71
  • Enthusiast

  • 86 posts
  • Corona SDK

Build settings:

https://pastebin.com/5YZ8pShp



[TOPIC: post.html]
#4

ammar71

[GLOBAL: userInfoPane.html]
ammar71
  • Enthusiast

  • 86 posts
  • Corona SDK

  Best Answer

The Activity popup si for iOS only Android should not be trying to build this. Can you post your build.settings?

 

It might be useful to add the supportedPlatforms={"iphone"} to that entry in your build.settings.

 

Adding the supportedPlatforms field worked and the build was successful, but now the app crashes with a runtime error:

module 'CoronaProvider.native.popup.activity' not found.

 

in my code I have:

local activity = require( "CoronaProvider.native.popup.activity" )

I solved it by checking the platform and conditionally calling that only on iOS.

 

Thanks Rob.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: activity popup