android update
parent
bd8df8776a
commit
43b72172f7
|
@ -65,12 +65,6 @@ try:
|
|||
log('CDLL = ' + str(liblibtorrent))
|
||||
import libtorrent
|
||||
elif platform['system'] in ['android_armv7', 'android_x86']:
|
||||
try:
|
||||
import libtorrent
|
||||
log('Imported libtorrent v' + libtorrent.version + ' from system')
|
||||
except Exception, e:
|
||||
log('Error importing libtorrent from system. Exception: ' + str(e))
|
||||
|
||||
import imp
|
||||
from ctypes import CDLL
|
||||
try:
|
||||
|
|
|
@ -76,7 +76,7 @@ class LibraryManager():
|
|||
return True
|
||||
|
||||
def android_workaround(self):
|
||||
new_dest_path=os.path.join(xbmc.translatePath('special://xbmc'), self.platform['system'])
|
||||
new_dest_path='/data/data/org.xbmc.kodi/lib/'
|
||||
for libname in get_libname(self.platform):
|
||||
libpath=os.path.join(self.dest_path, libname)
|
||||
size=str(os.path.getsize(libpath))
|
||||
|
|
Loading…
Reference in New Issue