You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local snapshot = display.newSnapshot( 200, 200 )
math.randomseed( 0 )
-- Add 4 fish images to the screen
for i = 1,4 do
-- Create a fish
local fish = display.newImageRect( "new_icon.png", 40, 40 )
-- Move it to a random position relative to the snapshot's origin
fish:translate( math.random( -100, 100 ), math.random( -100, 100 ) )
-- Insert the fish into the snapshot
snapshot.group:insert( fish )
end
snapshot:translate( display.contentCenterX, display.contentCenterY )
Hello,
Problem only occurs for Android devices and all other platforms works perfectly. I tried the 3712 and it is working fine for display.newSnapshot.
I am not get any logs when app crashes.
Regards
Fahad Mirza
display.newSnapshot crashes on solar2d 3713.
Run the following code and build for android:
Target platform and where build was made:
Test project is attached to validate the crash.
SnapShotTest.zip
The text was updated successfully, but these errors were encountered: