tidev / gittio

Search & Install all Titanium Modules and Alloy Widgets on GitHub
http://gitt.io
Other
24 stars 19 forks source link

Not able to build the app in device error #90

Closed nrpverma closed 9 years ago

nrpverma commented 9 years ago
[INFO] :   Found Titanium module id=dk.napp.drawer version=latest platform=android deploy-type=test path=D:\Work\Android\app\modules\android\dk.napp.drawer\1.1.3
[ERROR] Application Installer abnormal process termination. Process exit value was 1

Please help me out to resolve the issue very thanx to u.

FokkeZB commented 9 years ago

Please provider more information. What gittio command did you use to install the module, is the module indeed correctly installed in the path mentioned, what does the modules section of your tiapp.xml look like?

nrpverma commented 9 years ago

Below tiapp.xml

<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
    <property name="acs-oauth-secret-production" type="string"></property>
    <property name="acs-oauth-key-production" type="string"></property>
    <property name="acs-api-key-production" type="string"></property>
    <property name="acs-oauth-secret-development" type="string"></property>
    <property name="acs-oauth-key-development" type="string"></property>
    <property name="acs-api-key-development" type="string"></property>
    <id>com.shp</id>
    <name>shp</name>
    <version>2.4</version>
    <publisher>SHOP PRIVATE LIMITED.</publisher>
    <url>http://www.shp.com</url>
    <description>SHOP </description>
    <copyright> SHOP PRIVATE LIMITED.All Rights Reserved.</copyright>
    <icon>appicon.png</icon>
    <fullscreen>false</fullscreen>
    <navbar-hidden>true</navbar-hidden>
    <analytics>false</analytics>
    <guid></guid>
    <property name="ti.ui.defaultunit" type="string">dpi</property>
    <android xmlns:android="http://schemas.android.com/apk/res/android">

        <manifest android:installLocation="auto"
            android:versionCode="18" android:versionName="2.4"
            package="com.shp" xmlns:android="http://schemas.android.com/apk/res/android">
            <uses-sdk android:maxSdkVersion="19"
                android:minSdkVersion="10" android:targetSdkVersion="19"/>
            <application android:debuggable="false"
                android:icon="@drawable/appicon" android:label="shop" android:name="shpApplication">
                <activity
                    android:configChanges="keyboardHidden|orientation|screenSize"
                    android:label="shp"
                    android:name=".shpActivity"
                    android:screenOrientation="portrait" android:theme="@style/Theme.Titanium">
                    <intent-filter>
                        <action android:name="android.intent.action.MAIN"/>
                        <category android:name="android.intent.category.LAUNCHER"/>
                    </intent-filter>
                </activity>
                <activity
                    android:configChanges="keyboardHidden|orientation|screenSize"
                    android:name="org.appcelerator.titanium.TiActivity" android:screenOrientation="portrait"/>
                <activity
                    android:configChanges="keyboardHidden|orientation|screenSize"
                    android:name="org.appcelerator.titanium.TiTranslucentActivity"
                    android:screenOrientation="portrait" android:theme="@android:style/Theme.Translucent"/>
                <activity android:configChanges="screenSize"
                    android:name="ti.modules.titanium.ui.android.TiPreferencesActivity" android:screenOrientation="portrait"/>
                <service android:exported="false" android:name="org.appcelerator.titanium.analytics.TiAnalyticsService"/>
            </application>
            <uses-permission android:name="com.shp.permission.C2D_MESSAGE"/>
            <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
            <uses-permission android:name="android.permission.INTERNET"/>
            <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
            <permission
                android:name="com.shp.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
        </manifest>
    </android>
    <modules>
        <module platform="android">dk.napp.drawer</module>
        <module platform="android">facebook</module>
        <module platform="iphone">facebook</module>       
        <module platform="android">com.activate.gcm</module>
        <module platform="android">analytics.google</module>
    </modules>
    <mobileweb>
        <precache/>
        <splash>
            <enabled>true</enabled>
            <inline-css-images>true</inline-css-images>
        </splash>
        <theme>default</theme>
    </mobileweb>
    <property name="com.activate.gcm.sender_id" type="string"></property>
    <property name="com.activate.gcm.component" type="string"></property>
    <property name="com.activate.gcm.icon" type="int"></property>
    <!-- -->
    <deployment-targets>
        <target device="tizen">false</target>
        <target device="android">true</target>
        <target device="blackberry">false</target>
        <target device="ipad">false</target>
        <target device="iphone">false</target>
        <target device="mobileweb">false</target>
    </deployment-targets>
    <sdk-version>3.2.3.GA</sdk-version>
</ti:app>
FokkeZB commented 9 years ago

That looks good. And the other information I asked for?

nrpverma commented 9 years ago

Blow details.

OS Window 7, 64 bit Titanium Studio 3.4.1 Titanium SDk 3.2.3

System Variable JAVA_HOME: C:\Program Files\Java\jdk1.7.0_67 PATH : C:\Program Files\Java\jdk1.7.0_67\bin;C:\android-sdk\tools

User Variable PATH: C:\Program Files\Java\jdk1.7.0_67\bin;C:\android-sdk\tools

FokkeZB commented 9 years ago

Well, that all looks OK. Please notice the error doesn't say it is related to the module. It just comes after it. I'm afraid I can't help you debug this further. If you do feel it is related to the module please open an issue at @viezel's repo.

yuchi commented 9 years ago

Looking at the first trace looks like you're in a high log level. I'm with Fokke in thinking this is not related to gittio, but if you higher your log level we could get this sorted.

nrpverma commented 9 years ago

Before i can see anything in logcat it shows error in Console

Titanium Command-Line Interface, CLI version 3.4.1, Titanium SDK version 3.2.3.GA Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ [ERROR] Application Installer abnormal process termination. Process exit value was 1 [INFO] : Found Titanium module id=dk.napp.drawer version=latest platform=android deploy-type=test path=D:\Work\Android\appname\modules\android\dk.napp.drawer\1.1.3

FokkeZB commented 9 years ago

Use --log-level trace on the CLI to get more details.