Android [Issue] First run xbmc on android
#1
- At first run xbmc on box android, when the app show "Preparing for first run, Please wait..." and box is power off. After I restart box android, box will be black screen.
How to recall thread ""Preparing for first run" when process is false because e.g above?
Logs...
PHP Code:
V/XBMC    4051): CEventLoopAMotionEvent_getAxisValue0x6548cf8dAMotionEvent_getButtonState0x6548cee9
V
/XBMC    4051): CEventLoopstarting event loop
V
/XBMC    4051): virtual void CXBMCApp::onStart(): 
V/XBMC    4051): virtual void CXBMCApp::onResume(): 
V/XBMC    4051): XBMC Started with actionandroid.intent.action.MAIN
V
/XBMC    4051):  => running XBMC_Run...
V/XBMC    4051): CXBMCApp::onReceive Got intentActionandroid.intent.action.BATTERY_CHANGED
V
/XBMC    4051): virtual void CXBMCApp::onCreateWindow(ANativeWindow*): 
V/XBMC    4051): XBMC_SetupDisplay()
V/XBMC    4051): 07:50:50 T:1750278224  NOTICEspecial://profile/ is mapped to: special://masterprofile/
V/XBMC    4051): 07:50:50 T:1750278224  NOTICE: -----------------------------------------------------------------------
V/XBMC    4051): 07:50:50 T:1750278224  N[   29.102640@1Digital output modePCM
OTICE
Starting XBMC (13.2 Git:Unknown). PlatformARM Android 32-bit
V
/XBMC    4051): 07:50:50 T:1750278224  NOTICEUsing Debug XBMC x32 buildcompiled Nov 24 2014 by GCC 4.8.0 for ARM Android 32-bit API level 14
V
/XBMC    4051): 07:50:50 T:1750278224  NOTICERunning on Android 32-bit API level 17 (Android3.0.50 armv7l)
V/XBMC    4051): 07:50:50 T:1750278224  NOTICEHost CPUARMv7 Processor rev 0 (v7l), 2 cores available
V
/XBMC    4051): 07:50:50 T:1750278224  NOTICEARM FeaturesNeon enabled
V
/XBMC    4051): 07:50:50 T:1750278224  NOTICEspecial://xbmc/ is mapped to: /data/user/0/org.xbmc.xbmc/cache/apk/assets
V/XBMC    4051): 07:50:50 T:1750278224  NOTICEspecial://xbmcbin/ is mapped to: /data/user/0/org.xbmc.xbmc/cache/apk/assets
V/XBMC    4051): 07:50:50 T:1750278224  NOTICEspecial://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata
V/XBMC    4051): 07:50:50 T:1750278224  NOTICEspecial://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc
V/XBMC    4051): 07:50:50 T:1750278224  NOTICEspecial://temp/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/temp
V/XBMC    4051): 07:50:50 T:1750278224  NOTICEThe executable running is: /system/bin/app_process
V
/XBMC    4051): 07:50:50 T:1750278224  NOTICELocal hostnamelocalhost
V
/XBMC    4051): 07:50:50 T:1750278224  NOTICELog File is located: /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/temp/xbmc.log
V
/XBMC    4051): 07:50:50 T:1750278224  NOTICE: -----------------------------------------------------------------------
V/XBMC    4051): 07:50:50 T:1750278224  NOTICEload settings...
V/XBMC    4051): 07:50:50 T:1750278224   DEBUG: static int CAndroidFeatures::GetVersion(): android.os.Build.VERSION 17
V
/XBMC    4051): 07:50:50 T:1750278224  NOTICEaml_presentrtn(0)
V/XBMC    4051): 07:50:50 T:1750278224   ERRORCSettingserror loading settings definition from special://xbmc/system/settings/settings.xml, Line 0
V/XBMC    4051):                                             Failed to open file
V
/XBMC    4051): 07:50:50 T:1750278224   FATALUnable to load settings definitions
V
/XBMC    4051):  => XBMC_Run finished with -1
V
/XBMC    4051): detaching thread 

Thanks all
Reply
#2
That a bug to solve, I guess.
For you immediate issue, deinstalling and reinstalling should solve it.
Reply
#3
(2014-12-05, 09:05)Koying Wrote: That a bug to solve, I guess.
For you immediate issue, deinstalling and reinstalling should solve it.
@Koying: Do I can deinstalling and reinstalling from code?
https://github.com/xbmc/xbmc/blob/master...#L296-L297
When status == -1, we will deinstalling and reinstalling. Is it impossible?
Reply
#4
I don't know an OS where apps can deinstall themselves Wink
Reply

Logout Mark Read Team Forum Stats Members Help
[Issue] First run xbmc on android0