Open ABIvan-Tech opened 11 years ago
Попробуйте добавить должно решить данную проблему в разрешения манифеста необходимо добавить android.permission.WRITE_SETTINGS
Ок. Попробую. Чуть позже напишу о результате 27.12.2012 17:54 пользователь "mksaint13" notifications@github.com написал:
Попробуйте добавить должно решить данную проблему в разрешения манифеста необходимо добавить android.permission.WRITE_SETTINGS
Reply to this email directly or view it on GitHubhttps://github.com/yandexmobile/yandexmapkit-android/issues/94#issuecomment-11704583.
Android 2.3.6 Samsung Galaxy S На телефоне моя программа с последней версией yandexmapkit-library не запускалась пока не скачал и самое интересное один раз не запустил Яндекс Карты (из МАркета). После этого ВСЕ ЗАРАБОТАЛО
Я так подозреваю что библиотека не могла достучаться до папки с кешем на sdcard или что то подобное.
Если интересно могу скинуть более подробный лог из ACRA.
12-26 23:08:21.860: E/AndroidRuntime(2078): android.view.InflateException: Binary XML file line #8: Error inflating class ru.yandex.yandexmapkit.MapView
"android.view.InflateException: Binary XML file line #8: Error inflating class ru.yandex.yandexmapkit.MapView at android.view.LayoutInflater.createView(LayoutInflater.java:518) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570) at android.view.LayoutInflater.rInflate(LayoutInflater.java:623) at android.view.LayoutInflater.inflate(LayoutInflater.java:408) at android.view.LayoutInflater.inflate(LayoutInflater.java:320) at com.s0l.netmon.YMap.onCreateView(YMap.java:89) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:870) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1080) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:622) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1416) at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:431) at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:139) at android.support.v4.view.ViewPager.populate(ViewPager.java:804) at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1016) at android.view.View.measure(View.java:8366) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138) at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) at android.view.View.measure(View.java:8366) at android.widget.LinearLayout.measureVertical(LinearLayout.java:531) at android.widget.LinearLayout.onMeasure(LinearLayout.java:309) at android.view.View.measure(View.java:8366) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138) at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) at android.view.View.measure(View.java:8366) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138) at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) at android.view.View.measure(View.java:8366) at android.view.ViewRoot.performTraversals(ViewRoot.java:846) at android.view.ViewRoot.handleMessage(ViewRoot.java:1867) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:415) at android.view.LayoutInflater.createView(LayoutInflater.java:505) ... 36 more Caused by: java.lang.UnsatisfiedLinkError: getAppNameFromNative at ru.yandex.core.CoreApplication.getAppNameFromNative(Native Method) at ru.yandex.core.CoreApplication.getExternalStorageDirectory(Unknown Source) at ru.yandex.core.CoreApplication.getRootForFileSystemImpl(Unknown Source) at ru.yandex.core.CoreApplication.getRootForFileSystem(Unknown Source) at ru.yandex.core.CoreApplication.restoreFsRoot(Unknown Source) at ru.yandex.core.CoreApplication.initialize(Unknown Source) at ru.yandex.core.CoreApplication.initOnce(Unknown Source) at ru.yandex.yandexmapkit.MapSurfaceView.init(Unknown Source) at ru.yandex.yandexmapkit.MapSurfaceView.(Unknown Source)
at ru.yandex.yandexmapkit.MapView.(Unknown Source)
... 39 more
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
at android.view.LayoutInflater.createView(LayoutInflater.java:505)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
at com.s0l.netmon.YMap.onCreateView(YMap.java:89)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:870)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1080)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:622)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1416)
at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:431)
at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:139)
at android.support.v4.view.ViewPager.populate(ViewPager.java:804)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1016)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
at android.view.View.measure(View.java:8366)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:531)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
at android.view.View.measure(View.java:8366)
at android.view.ViewRoot.performTraversals(ViewRoot.java:846)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1867)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: getAppNameFromNative
at ru.yandex.core.CoreApplication.getAppNameFromNative(Native Method)
at ru.yandex.core.CoreApplication.getExternalStorageDirectory(Unknown Source)
at ru.yandex.core.CoreApplication.getRootForFileSystemImpl(Unknown Source)
at ru.yandex.core.CoreApplication.getRootForFileSystem(Unknown Source)
at ru.yandex.core.CoreApplication.restoreFsRoot(Unknown Source)
at ru.yandex.core.CoreApplication.initialize(Unknown Source)
at ru.yandex.core.CoreApplication.initOnce(Unknown Source)
at ru.yandex.yandexmapkit.MapSurfaceView.init(Unknown Source)
at ru.yandex.yandexmapkit.MapSurfaceView.(Unknown Source)
at ru.yandex.yandexmapkit.MapView.(Unknown Source)
... 39 more
java.lang.UnsatisfiedLinkError: getAppNameFromNative
at ru.yandex.core.CoreApplication.getAppNameFromNative(Native Method)
at ru.yandex.core.CoreApplication.getExternalStorageDirectory(Unknown Source)
at ru.yandex.core.CoreApplication.getRootForFileSystemImpl(Unknown Source)
at ru.yandex.core.CoreApplication.getRootForFileSystem(Unknown Source)
at ru.yandex.core.CoreApplication.restoreFsRoot(Unknown Source)
at ru.yandex.core.CoreApplication.initialize(Unknown Source)
at ru.yandex.core.CoreApplication.initOnce(Unknown Source)
at ru.yandex.yandexmapkit.MapSurfaceView.init(Unknown Source)
at ru.yandex.yandexmapkit.MapSurfaceView.(Unknown Source)
at ru.yandex.yandexmapkit.MapView.(Unknown Source)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
at android.view.LayoutInflater.createView(LayoutInflater.java:505)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
at com.s0l.netmon.YMap.onCreateView(YMap.java:89)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:870)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1080)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:622)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1416)
at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:431)
at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:139)
at android.support.v4.view.ViewPager.populate(ViewPager.java:804)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1016)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
at android.view.View.measure(View.java:8366)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:531)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
at android.view.View.measure(View.java:8366)
at android.view.ViewRoot.performTraversals(ViewRoot.java:846)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1867)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)"