Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] UIManager.takeSnapshot is not available on this platform #7

Closed
vinaypuppal opened this issue Jun 25, 2016 · 2 comments
Closed

Comments

@vinaypuppal
Copy link

After completing FillAll kata, I got this warning UIManager.takeSnapshot is not available on this platform when running on Android Device(Android version 6). I am not able to move to next kata.

Below is the stack trace that might help you

mounting
snapshot.js:18 snapshotting /data/user/0/com.reactnativekatas/files/FillAll.ref.png
YellowBox.js:56 UIManager.takeSnapshot is not available on this platform
snapshot.js:24 Snapshotted: /data/user/0/com.reactnativekatas/files/FillAll.ref.png
YellowBox.js:56 Unhandled rejection Error: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
    at convertError (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:82117:11)
    at tryCatcher (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:86929:15)
    at Promise._settlePromiseFromHandler (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:85035:21)
    at Promise._settlePromiseAt (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:85109:6)
    at Promise._settlePromises (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:85225:6)
    at Async._drainQueue (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:82515:4)
    at Async._drainQueues (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:82525:6)
    at Async.drainQueues (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:82407:6)
    at JSTimersExecution.callbacks.(anonymous function) (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7606:13)
    at Object.callTimer (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7345:1)
    at Object.callImmediatesPass (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7403:19)
    at Object.callImmediates (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7418:25)
    at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:6671:43
    at guard (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:6585:1)
    at MessageQueue.__callImmediates (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:6671:1)
    at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:6641:8
@jondot
Copy link
Owner

jondot commented Jun 25, 2016

Hi! Thanks for reporting this!
Currently Katas are practiced with the iOS simulator so please try to use that if you can. The Katas are not platform specific so you won't miss out on anything by doing that.

UIManager snapshots is not available yet on Android but once it becomes available Katas will work on Android too, sorry for the inconvenience!

@vinaypuppal
Copy link
Author

Okay thanks, for such a great project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants