Unable to display images on AI Companion (Android Tablet)

I am new to App Inventor and trying to layout my first screen. I would like my buttons to have various shapes and decided that images would be the best way to handle the requirements.

I first created the button and uploaded a .png and a .jpg from my pc to App Inventor. When I select them on the images they appear as desired on the App Inventor application but when I connect to the tablet, the images do not display.

I did a search of the site but did not find any posts with this exact problem.

I tried adding as images as well but with the same results. Not sure what I am missing but no matter what I try, I can not get an image file to display on my AI Companion.

Are you using the absolute arrangement? There is a bug.

TIMAI2,

Thank you for the reply. I am using a combination of vertical and horizontal arrangement to split the screen into 2 halves. I did try another project where I only had horizontal arrangement with a single image and it still does not display on the Companion tablet even though it does on the Inventor.

It is an older tablet that I am planning on using as a dedicated wall mount display. Is there an issue with displaying images on Android tablets running 4.1.2? I selected Android 3.0-4.x (Holo) on inventor and did not see anything that suggested that this would not display images.

Don't have any devices with 4.1.2 to test.

Try a simple test project with just an image component with an image from your assets, see if that works,

Otherwise share your aia project here so we can check if there is an issue with that.

Thank you for your help.

I did try a simple project with just an image and it still did not show. I then added a text box below it and it showed but it was interesting that it did not leave any space where the image should be. The text box displayed at the very top.

Here is the simple test that I made to just show an image with a text box below it.

Test_copy.aia (4.0 KB)

Nothing wrong with that.

Is your companion app up to date? It should be 276 or 276u.

Do you get any error messages when your load the project in the companion ?

276u. No error messages.

My guess is that the older Android builds must not be compatible with the companion app. Next step is probably to just go ahead and build the test app and load it onto the tablet to see if it is just Companion or if the tablet has other issues.

Thank you for verifying that it should work. Now I won't need to keep banging my head against the wall not knowing where the problem lies.

Would be interesting to know if your compiled test app displays the image

TIMAI2,

I just downloaded the apk file and confirmed that it does display correctly so it is an incompatibility of the Companion with earlier Android Tablets I guess.

I may just try to root the tablet and load a newer version of operating system to see if that works.

At least I can continue to develop, just not use Companion for testing things out.

Again, thank you for your support.

As an update to anyone who may find this string in the future. I rooted my Tab 2 and updated to Android 6.0.1 and Companion Loads and works as expected but it still does not display images. All other functions and apps that I have tried worked as expected.

If anyone should have a suggestion, I am all ears.