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 8313305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:26:50+00:00 2026-06-08T20:26:50+00:00

A few days ago, I began working on my first Android game. I opted

  • 0

A few days ago, I began working on my first Android game. I opted to use OpenGL ES 2.0 since it was the most familiar alternative. However, I am currently unable to test the game on a real device, so I decided to use AVD instead, using a 4.0.3 virtual device with Intel HAXM installed. This seemed to work perfectly, but I have now encountered a really strange problem.

When compiling and running the game from Eclipse, it works just fine. However, if I then run the game a second time, either through the AVD or from Eclipse, nothing is drawn except the background color. If I change anything in the code so that Eclipse must recompile the application, everything once again works as it should, but only during the first run.

I have no idea what’s going on. If I had to guess I would say that the AVD is acting up somehow, but does anyone know a way to fix this? If requested, I will provide relevant source code, but as I have no idea what could cause this kind of problem, I cannot provide any right now.

  • 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-06-08T20:26:52+00:00Added an answer on June 8, 2026 at 8:26 pm

    It seems like the textures were being deleted when the application was paused, which led to it not drawing anything on the screen. Reloading the textures in the onResume function fixed the issue.

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

Sidebar

Related Questions

I have started a new app a few days ago and began working with
I began learning Python a few days ago, and i was wondering about a
A few days ago I posted this question and everyone suggested me to use
I few days ago I update my macbook pro to snow leopard, and since
A few days ago my .NET 3.5 applications began to fail while start issuing
A few days ago I started with Ubuntu for the first time. I want
A few days ago, I watched the video tutorial which explains how to use
I've started learning rails3 few days ago, and since today, every time I run
few days ago, when I was debugging an Android project under eclipse I've found
I started programming in Lua few days ago. I have become familiar with the

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.