Android Studio: Images do not show up while debugging app on phone, but do on the emulator

Masy

I have inserted an image on a blank activity:

    <ImageView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/imageView4"
    android:layout_centerVertical="true"
    android:layout_centerHorizontal="true"
    android:src="@drawable/h2ua" />

The image works just fine while viewing in Design, and while testing the app using a Nexus 5 emulator on my Mac. But when i transfer it to my phone, it doesn't show up. I have the exact same setup in another activity where it works just fine on my phone. I have tried inserting text on top of the image in the blank activity, and that also shows up on my phone. Any ideas of what could be wrong?

Masy

Yeah... I figured it out. The image was too big, max is 2048x2048, and mine was 2200.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Android Studio Emulator do not show the designed layout

From Dev

Emulator doesn't show up in Android Studio

From Dev

Debugging Cordova App (android) with Visual Studio 2015 New Emulator

From Dev

Android Studio-Designer does not show Colors as the emulator/phone

From Dev

How do I boost up my android studio's emulator on mac?

From Dev

app works on the emulator but not real phone while setting bitmap images from the storage(Album arts)

From Dev

App crashing while trying to run it on the emulator [Android Studio]

From Dev

App crashing while trying to run it on the emulator [Android Studio]

From Dev

Android Studio Speeding up Emulator?

From Dev

Android Studio Speeding up Emulator?

From Dev

Set GPS location in Android Studio while debugging app

From Dev

Android Studio Emulator Show Error

From Java

How do I "shake" an Android device within the Android emulator to bring up the dev menu to debug my React Native app

From Dev

Debugging API in browser and Android app in emulator same time on one Visual Studio

From Dev

Android Studio: How do I debug an Android application that's displaying the error "Unfortunetly, App has stopped working" in emulator?

From Dev

Call Permission Not Working - How do you make a phone call in app for Android Studio?

From Dev

App not starting on Android Studio emulator

From Dev

How do I get my custom account type to show up in the android contacts app?

From Dev

Android app works on emulator but will not install on my phone

From Dev

How do I stop my android app from crashing in the emulator?

From Dev

Problem while using v-for. Props with dots do not show up

From Dev

App Icon doesnt show up in Actionbar (Android Studio 1.0.1)

From Dev

how do I set up html with text and images for flask app?

From Dev

Android: App Not Showing in Phone after Debugging

From Dev

do-while loop in android app

From Dev

Modals do not show up after grunt build in a yeoman app

From Dev

Modals do not show up after grunt build in a yeoman app

From Dev

Why my action extension do not show up in notes app

From Dev

Android studio: emulator is running but not showing up in Run App "choose a running device"

Related Related

  1. 1

    Android Studio Emulator do not show the designed layout

  2. 2

    Emulator doesn't show up in Android Studio

  3. 3

    Debugging Cordova App (android) with Visual Studio 2015 New Emulator

  4. 4

    Android Studio-Designer does not show Colors as the emulator/phone

  5. 5

    How do I boost up my android studio's emulator on mac?

  6. 6

    app works on the emulator but not real phone while setting bitmap images from the storage(Album arts)

  7. 7

    App crashing while trying to run it on the emulator [Android Studio]

  8. 8

    App crashing while trying to run it on the emulator [Android Studio]

  9. 9

    Android Studio Speeding up Emulator?

  10. 10

    Android Studio Speeding up Emulator?

  11. 11

    Set GPS location in Android Studio while debugging app

  12. 12

    Android Studio Emulator Show Error

  13. 13

    How do I "shake" an Android device within the Android emulator to bring up the dev menu to debug my React Native app

  14. 14

    Debugging API in browser and Android app in emulator same time on one Visual Studio

  15. 15

    Android Studio: How do I debug an Android application that's displaying the error "Unfortunetly, App has stopped working" in emulator?

  16. 16

    Call Permission Not Working - How do you make a phone call in app for Android Studio?

  17. 17

    App not starting on Android Studio emulator

  18. 18

    How do I get my custom account type to show up in the android contacts app?

  19. 19

    Android app works on emulator but will not install on my phone

  20. 20

    How do I stop my android app from crashing in the emulator?

  21. 21

    Problem while using v-for. Props with dots do not show up

  22. 22

    App Icon doesnt show up in Actionbar (Android Studio 1.0.1)

  23. 23

    how do I set up html with text and images for flask app?

  24. 24

    Android: App Not Showing in Phone after Debugging

  25. 25

    do-while loop in android app

  26. 26

    Modals do not show up after grunt build in a yeoman app

  27. 27

    Modals do not show up after grunt build in a yeoman app

  28. 28

    Why my action extension do not show up in notes app

  29. 29

    Android studio: emulator is running but not showing up in Run App "choose a running device"

HotTag

Archive