VivekPanyam / Evolve

Evolve is a library for Android Developers that lets them deploy new versions of an app without going through Google Play or asking users to download an update.
GNU Affero General Public License v3.0
100 stars 12 forks source link

android.view.InflateException: Binary XML file line #34: Error inflating class <unknown> #14

Open pricsko opened 8 years ago

pricsko commented 8 years ago

the app writes this on line : setContentView, but in my xml there is no line #34

Android version : 4.4.4

how to set wrapper app properly?

i set my as follows : MyApp : packageName : com.example.package MainActivity : com.example.package.Mainactivity extends DynamicActivity

Wrapper : packageName : com.example.package.wrapper MainActivity : com.example.package.wrapper.MyActivity Manifest :

    <activity android:name=".dummy.Dummy1"></activity>
    <activity android:name=".dummy.Dummy2"></activity>
    <activity android:name=".dummy.Dummy3"></activity>
    <activity android:name=".dummy.Dummy4"></activity>
    <activity android:name=".dummy.Dummy5"></activity>
    <activity android:name=".dummy.Dummy6"></activity>
    <activity android:name=".dummy.Dummy7"></activity>
    <activity android:name=".dummy.Dummy8"></activity>
    <activity android:name=".dummy.Dummy9"></activity>
    <activity android:name=".dummy.Dummy10"></activity> ...

What am i missing?

and if i create CustomView (e.g. CustomView extends View, i can only create it programmatically, from xml it cannot load)

VivekPanyam commented 8 years ago

Do you have a stack trace? That should help lead us in the right direction