Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7732085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:38:37+00:00 2026-06-01T06:38:37+00:00

so I just created a new app that is references an older app of

  • 0

so I just created a new app that is references an older app of mine, using it as a library. You can see that problem/solution here:

Alternate entry on Play Store

However I’ve just noticed that my new app is giving me error views when I try and set down some of the widgets, with LogCat output such as:

03-29 20:48:17.899: E/AppWidgetHostView(456): Package name com.nickavv.cleanwidgets not found
03-29 20:48:17.899: E/RemoteViews(456): Package name com.nickavv.cleanwidgets not found
03-29 20:48:17.960: W/AppWidgetHostView(456): updateAppWidget couldn't find any view, using error view
03-29 20:48:17.960: W/AppWidgetHostView(456): android.view.InflateException: Binary XML file line #18: Error inflating class com.android.launcher2.AllApps3D
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.view.LayoutInflater.createView(LayoutInflater.java:513)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.view.LayoutInflater.inflate(LayoutInflater.java:385)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.widget.RemoteViews.apply(RemoteViews.java:930)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java:219)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java:155)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.appwidget.AppWidgetHost.createView(AppWidgetHost.java:218)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at com.android.launcher2.Launcher.completeAddAppWidget(Launcher.java:911)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at com.android.launcher2.Launcher.onActivityResult(Launcher.java:542)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.app.Activity.dispatchActivityResult(Activity.java:3890)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.app.ActivityThread.deliverResults(ActivityThread.java:3511)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.app.ActivityThread.handleSendResult(ActivityThread.java:3557)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.app.ActivityThread.access$2800(ActivityThread.java:125)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2063)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.os.Handler.dispatchMessage(Handler.java:99)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.os.Looper.loop(Looper.java:123)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.app.ActivityThread.main(ActivityThread.java:4627)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at java.lang.reflect.Method.invokeNative(Native Method)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at java.lang.reflect.Method.invoke(Method.java:521)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at dalvik.system.NativeStart.main(Native Method)
03-29 20:48:17.960: W/AppWidgetHostView(456): Caused by: android.view.InflateException: Binary XML file line #18: Class not allowed to be inflated com.android.launcher2.AllApps3D
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.view.LayoutInflater.failNotAllowed(LayoutInflater.java:525)
03-29 20:48:17.960: W/AppWidgetHostView(456):   at android.view.LayoutInflater.createView(LayoutInflater.java:472)

What’s going on here? Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T06:38:38+00:00Added an answer on June 1, 2026 at 6:38 am

    The answer was in the fact that I was using RemoteViews for the widgets, and in setting up some of the remote views, I was hard-coding the package name from the original application. The solution was to replace the hard-coded package name with context.getPackageName()

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just created a new MVC 2 application that references both an entity model
I just created a new rails app in Rails 3.1.1, and my application layout
I just created a new project using the visual studio cordova starter template. However
I have just created a new project in VS2010 using the Visual c# >
Im using virtualenv on Fedora 16 and Ive just created a new virtualenv so
I have an odd problem that I just can't seem to diagnose, and it
I just created a new table and filled it with data. When I run
I've just created a new Virtual Machine, which was initially completely clean - I've
I have just created a new project with a many-to-many relation (User-Group) and the
I've just created a new MySQL user with a password and granted them all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.