I see this:

>  Caused by: android.view.InflateException: Binary XML file line #173: 
> Error inflating class ImageButton



I'm not a OsmAnd developer, but this seems to be related to some error in 
the apk you downloaded.
Did you already try to re-download, uninstall and reinstall the app?

Alternatively, you can get the latest *OsmAnd-nightly.apk* 
<https://download.osmand.net/latest-night-build/OsmAnd-nightly.apk> from 
https://download.osmand.net/latest-night-build/ 
and see if it works.


Regards,
Max 



 

On Saturday, March 9, 2019 at 10:07:11 PM UTC+1, NHV wrote:
>
> Below is, I believe, relevant logcat information:
>
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime: FATAL EXCEPTION: main
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime: Process: net.osmand, PID: 
> 15112
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime: java.lang.
> RuntimeException: Unable to start activity ComponentInfo{net.osmand/net.
> osmand.plus.activities.MapActivity}: android.view.InflateException: Binary 
> XML file line #51: Binary XML file line #173: Error inflating class 
> ImageButton
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.app.
> ActivityThread.performLaunchActivity(ActivityThread.java:2434)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.app.
> ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.app.
> ActivityThread.access$900(ActivityThread.java:157)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.app.
> ActivityThread$H.handleMessage(ActivityThread.java:1356)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.os.Handler
> .dispatchMessage(Handler.java:102)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.os.Looper.
> loop(Looper.java:148)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.app.
> ActivityThread.main(ActivityThread.java:5551)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at java.lang.reflect.
> Method.invoke(Native Method)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at com.android.
> internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at com.android.
> internal.os.ZygoteInit.main(ZygoteInit.java:620)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime: Caused by: android.view.
> InflateException: Binary XML file line #51: Binary XML file line #173: 
> Error inflating class ImageButton
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.inflate(LayoutInflater.java:539)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.inflate(LayoutInflater.java:423)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.inflate(LayoutInflater.java:374)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.support.v7
> .app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:
> 287)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.support.v7
> .app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at net.osmand.plus.
> activities.OsmandActionBarActivity.setContentView(OsmandActionBarActivity.
> java:33)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at net.osmand.plus.
> activities.MapActivity.onCreate(MapActivity.java:232)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.app.
> Activity.performCreate(Activity.java:6272)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.app.
> Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.app.
> ActivityThread.performLaunchActivity(ActivityThread.java:2387)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     ... 9 more
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime: Caused by: android.view.
> InflateException: Binary XML file line #173: Error inflating class 
> ImageButton
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.createViewFromTag(LayoutInflater.java:782)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.createViewFromTag(LayoutInflater.java:704)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflate(LayoutInflater.java:835)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflateChildren(LayoutInflater.java:798)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflate(LayoutInflater.java:838)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflateChildren(LayoutInflater.java:798)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflate(LayoutInflater.java:838)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflateChildren(LayoutInflater.java:798)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflate(LayoutInflater.java:838)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflateChildren(LayoutInflater.java:798)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.parseInclude(LayoutInflater.java:971)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflate(LayoutInflater.java:831)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflateChildren(LayoutInflater.java:798)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflate(LayoutInflater.java:838)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflateChildren(LayoutInflater.java:798)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflate(LayoutInflater.java:838)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.rInflateChildren(LayoutInflater.java:798)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.view.
> LayoutInflater.inflate(LayoutInflater.java:515)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     ... 18 more
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime: Caused by: android.
> content.res.Resources$NotFoundException: Unable to find resource ID 
> #0x7f070527
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.content.
> res.Resources.getResourceName(Resources.java:2298)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.content.
> res.Resources.loadDrawableForCookie(Resources.java:2705)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.content.
> res.Resources.loadDrawable(Resources.java:2643)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.content.
> res.TypedArray.getDrawable(TypedArray.java:870)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.widget.
> ImageView.<init>(ImageView.java:152)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.widget.
> ImageButton.<init>(ImageButton.java:84)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.widget.
> ImageButton.<init>(ImageButton.java:80)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.support.v7
> .widget.AppCompatImageButton.<init>(AppCompatImageButton.java:72)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.support.v7
> .widget.AppCompatImageButton.<init>(AppCompatImageButton.java:68)
> 03-08 10:07:18.941 15112 15112 E AndroidRuntime:     at android.support.v7
> .app.AppCompatViewInflater.createImageButton(AppCompa
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to