Announcement

Collapse
No announcement yet.

Error Deployment: missing sd card or bad permission

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Copy .apk and .obb files in directory created by batch files and everything will works fine.

    Leave a comment:


  • replied
    Yes, everything looks correct.

    Leave a comment:


  • replied
    Wow, everything seems good now, the project is installed properly. The fact that I have restarted my device could explain...
    So this error message can be ignored, right?

    Leave a comment:


  • replied
    Thx for your help Chris. See below the entire log I get.

    Log:
    C:\Users\Hathis\Documents\SI\Package\Android>setlocal

    C:\Users\Hathis\Documents\SI\Package\Android>set ANDROIDHOME=G:\Softwares\NVPACK\android-sdk-windows

    C:\Users\Hathis\Documents\SI\Package\Android>if "G:\Softwares\NVPACK\android-sdk-windows" == "" set ANDROIDHOME=G:\Softwares\NVPACK\android-sdk-windows

    C:\Users\Hathis\Documents\SI\Package\Android>set ADB=G:\Softwares\NVPACK\android-sdk-windows\platform-tools\adb.exe

    C:\Users\Hathis\Documents\SI\Package\Android>set DEVICE=

    C:\Users\Hathis\Documents\SI\Package\Android>if not "" == "" set DEVICE=-s

    C:\Users\Hathis\Documents\SI\Package\Android>for /F "delims=" %A in ('G:\Softwares\NVPACK\android-sdk-windows\platform-tools\adb.exe shell "echo $EXTERNAL_STORAGE"') do [MENTION=44531]se[/MENTION]t STORAGE=%A

    Uninstalling existing application. Failures here can almost always be ignored.

    C:\Users\Hathis\Documents\SI\Package\Android>G:\Softwares\NVPACK\android-sdk-windows\platform-tools\adb.exe uninstall com.YourCompany.MyProject
    Success

    Installing existing application. Failures here indicate a problem with the device (connection or storage permissions) and are fatal.

    C:\Users\Hathis\Documents\SI\Package\Android>G:\Softwares\NVPACK\android-sdk-windows\platform-tools\adb.exe install MyProject-armv7-es2.apk
    4706 KB/s (32492272 bytes in 6.742s)
    pkg: /data/local/tmp/MyProject-armv7-es2.apk
    Success

    C:\Users\Hathis\Documents\SI\Package\Android>G:\Softwares\NVPACK\android-sdk-windows\platform-tools\adb.exe shell rm -r /sdcard/UE4Game/MyProject
    rm: /sdcard/UE4Game/MyProject: No such file or directory

    C:\Users\Hathis\Documents\SI\Package\Android>G:\Softwares\NVPACK\android-sdk-windows\platform-tools\adb.exe shell rm -r /sdcard/UE4Game/UE4CommandLine.txt
    rm: /sdcard/UE4Game/UE4CommandLine.txt: No such file or directory

    C:\Users\Hathis\Documents\SI\Package\Android>G:\Softwares\NVPACK\android-sdk-windows\platform-tools\adb.exe shell rm -r /sdcard/obb/com.YourCompany.MyProject

    Installing new data. Failures here indicate storage problems (missing SD card or bad permissions) and are fatal.

    C:\Users\Hathis\Documents\SI\Package\Android>G:\Softwares\NVPACK\android-sdk-windows\platform-tools\adb.exe push main.1.com.YourCompany.MyProject.obb /sdcard/obb/com.YourCompany.MyProject/main.1.com.YourCompany.MyProject.obb
    Last edited by Kymlands; 03-01-2016, 06:11 PM.

    Leave a comment:


  • replied
    Hi Hathis,

    The message you posted isn't an error message. It is an indicator there may be an issue if you see any errors afterward from the following commands. You need to post the full output if it is actually failing; it may be working.

    If the APK or OBB fails to install you may be out of storage space.

    Leave a comment:


  • started a topic Error Deployment: missing sd card or bad permission

    Error Deployment: missing sd card or bad permission

    Hello guys,
    The packaging of the default project"PuzzleExampleMap" goes well, but the deployment on my Nexus 5 goes wrong. I've attached the log and a screenshot.
    Can you give me some hints to solve the issue?
    UE4.10.4 / Nexus 5 / Android 6

    Error: Installing new data. Failures here indicate storage problems (missing SD card or bad permissions) and are fatal.

    This is the screenshot of my Android SDK Manager. Everything is Up-to-date.
    Click image for larger version

Name:	80289-capture.jpg
Views:	1
Size:	223.7 KB
ID:	1175316

    This is the screenshot of my Device Manager. Everything seems good.
    Click image for larger version

Name:	80294-capture.jpg
Views:	1
Size:	298.3 KB
ID:	1175318

    With the adb devices in the command prompt I see my devices connected to my PC
    Click image for larger version

Name:	80316-capture.jpg
Views:	1
Size:	71.8 KB
ID:	1175319
Working...
X