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 from this link that there are several types of XML parsers in
I have url like this which is a js file example like this link
I found this link Link to another page using Twitter Bootstrap jquery modal in
I found this link on how to embed custom fonts in XAML apps. Is
I have found this link: http://www.jfree.org/forum/viewtopic.php?f=3&t=6314 Its back in 2007 where they agree that
I've search for some solution to my problem and I found this link .
Trying to build openssl-fips-2.0 with NDK, before I was lucky found this link and
I need to make rate option in my android app. I found this link
i have a problem using the Catch Clipboard Events code found on this link
I've found a code which opens this link after logging in to google account

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.