Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7505287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:51:30+00:00 2026-05-29T21:51:30+00:00

I found this link and I wanted to try the carousel example out. I

  • 0

I found this link and I wanted to try the carousel example out. I copied all the classes and rs file (all that there was from the carousel example) into my own project and I tried building it on an actual device (Motorola xoom). But I keep getting force closes. The error in the logcat is:

11-01 11:37:23.490: E/RenderScript(927): 0x17c718, couldn't find an EGLConfig matching 
the screen format
11-01 12:09:53.320: E/AndroidRuntime(1214): FATAL EXCEPTION: main
11-01 12:09:53.320: E/AndroidRuntime(1214): java.lang.RuntimeException: Unable to 
start activity ComponentInfo{com.android.example/com.android.example.CarouselActivity}:
java.lang.NullPointerException
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1748)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1764)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.app.ActivityThread.access$1500(ActivityThread.java:122)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1002)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.os.Looper.loop(Looper.java:132)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.app.ActivityThread.main(ActivityThread.java:4025)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
java.lang.reflect.Method.invokeNative(Native Method)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
java.lang.reflect.Method.invoke(Method.java:491)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
dalvik.system.NativeStart.main(Native Method)
11-01 12:09:53.320: E/AndroidRuntime(1214): Caused by: java.lang.NullPointerException
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.renderscript.Allocation.elementFromBitmap(Allocation.java:821)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.renderscript.Allocation.typeFromBitmap(Allocation.java:839)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.renderscript.Allocation.createFromBitmap(Allocation.java:864)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.renderscript.Allocation.createFromBitmapResource(Allocation.java:1074)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
com.android.example.CarouselRS.loadImages(CarouselRS.java:127)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
com.android.example.CarouselRS.initRS(CarouselRS.java:188)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
com.android.example.CarouselRS.init(CarouselRS.java:36)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
com.android.example.CarouselView.ensureRenderScript(CarouselView.java:25)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
com.android.example.CarouselView.<init>(CarouselView.java:13)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
com.android.example.CarouselActivity.onCreate(CarouselActivity.java:15)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
11-01 12:09:53.320: E/AndroidRuntime(1214):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1712)
11-01 12:09:53.320: E/AndroidRuntime(1214):     ... 11 more

I don’t know what this means and how I should fix this. Does anyone have this kind of problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:51:32+00:00Added an answer on May 29, 2026 at 9:51 pm

    As said in the post, I run it on actual device, not the emulator. the problem was this link, but they removed the problem in android sdk tools revision 15. So download the new version of sdk tools, and it should be just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this link http://artis.imag.fr/~Xavier.Decoret/resources/glsl-mode/ , but there isn't a lot of description around
i have a problem using the Catch Clipboard Events code found on this link
I have found some info on the subject ( like this link) , but
I found this open-source library that I want to use in my Java application.
Just found this out, so i am answering my own question :) Use a
How would I link the file choosen from a JFileChooser to a file and
Does Javascript supports Sets(list with unique objects only) ? I have found this link
I want a filter for my ListView in Android. I have found this link
Found this: Sub SurroundWithAppendTag() DTE.ActiveDocument.Selection.Text = .Append( + DTE.ActiveDocument.Selection.Text + ) End Sub But
found this regex: insert every 10 characters: $text = preg_replace(|(.{10})|u, \${1}. , $text); can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.