Log in or register to post comments

Compiling errors

August 1, 2012 - 8:49am #1

Hi, I have these problems when trying to compile the program

 

$ ndk-build

Android NDK: ERROR:/cygdrive/c/workspace2/com.rheti.apps.wellapp.LoginActivity/jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a missing file

Android NDK: Check that /cygdrive/c/workspace2/com.rheti.apps.wellapp.LoginActivity/jni/../../../build/lib/armeabi/libQCAR.so exists  or that its path is correct

/cygdrive/c/Development/android-ndk-r8/build/core/prebuilt-library.mk:43: *** Android NDK: Aborting    .  Alto.

 

Compiling errors

August 7, 2012 - 5:02pm #8

Are you using the Google Maps API? What you're seeing may derive from that, not Vuforia. See: http://stackoverflow.com/questions/10960252/mapactivity-couldnt-get-connection-factory-client & http://stackoverflow.com/questions/7982320/couldnt-get-connection-factory-client-fighting-with-google-maps which address the error that you're getting.

Compiling errors

August 7, 2012 - 1:24pm #7

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

    package="com.rheti.apps.wellapp"

    android:versionCode="1"

    android:versionName="1.0" >

 

    <uses-permission android:name="android.permission.INTERNET" />

    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

    <uses-permission android:name="android.permission.CAMERA" />

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

 

    <uses-feature android:name="android.hardware.camera" />

    <uses-feature android:name="android.hardware.camera.autofocus" />

    <!-- Add this permission to access WLAN MAC address. -->

    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

 

    <!-- Add this permission to access HW ID. -->

    <uses-permission android:name="android.permission.READ_PHONE_STATE" />

 

    <uses-sdk

        android:minSdkVersion="14"

        android:targetSdkVersion="14" />

 

    <application

        android:icon="@drawable/ic_launcher"

        android:label="@string/app_name"

        android:theme="@style/AppTheme" >

        <uses-library android:name="com.google.android.maps" />

 

        <activity android:name=".LoginActivity" >

            <intent-filter>

                <action android:name="android.intent.action.MAIN" />

 

                <category android:name="android.intent.category.LAUNCHER" />

            </intent-filter>

        </activity>

        <activity

            android:name=".HelpActivity"

            android:label="@string/help" >

        </activity>

        <activity

            android:name=".AddEventActivity"

            android:label="@string/new_event" >

        </activity>

        <activity

            android:name=".PartnerHomeActivity"

            android:label="@string/title_partner_home" >

        </activity>

        <activity

            android:name=".PartnerAccountActivity"

            android:label="@string/title_partner_account" >

        </activity>

        <activity

            android:name="AddSpecialActivity"

            android:label="@string/add_special_title"

            android:screenOrientation="portrait" >

        </activity>

        <activity

            android:name=".PartnerLoginActivity"

            android:label="Login" >

        </activity>

        <activity

            android:name=".PartnerSignupActivity"

            android:label="Signup" >

        </activity>

        <activity

            android:name=".UserHomeActivity"

            android:label="Specials" >

        </activity>

        <activity

            android:name=".ClubDetailsActivity"

            android:label="Club Details" >

        </activity>

        <activity

            android:name=".SpecialDetailsActivity"

            android:label="Specials Details" >

        </activity>

        <activity

            android:name=".EventDetailsActivity"

            android:label="Event Details" >

        </activity>

        <activity

            android:name=".augmented.reality.ImageTargets"

            android:label="ImageTargets" >

        </activity>

        <activity

            android:name=".augmented.reality.ImageTargetsRenderer"

            android:label="ImageTargetsRenderer" >

        </activity>

        <activity

            android:name=".augmented.reality.DebugLog"

            android:label="DebugLog" >

        </activity>

        <activity

            android:name=".augmented.reality.QCARSamgleGLView.java"

            android:label="QCARSamgleGLView" >

        </activity>

    </application>

 

</manifest>

Compiling errors

August 7, 2012 - 1:20pm #6

Hi, this is the manifest.xml

i have this errors,

Android permissions. Failed to initialize QCAR SDK. All required
Android permissions must be included for the SDK to work.

I have already written the same permissions as the example.

Thank you.

package="com.rheti.apps.wellapp"
android:versionCode="1"
android:versionName="1.0" >





android:minSdkVersion="14"
android:targetSdkVersion="14" />

android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >






android:name=".HelpActivity"
android:label="@string/help" >

android:name=".AddEventActivity"
android:label="@string/new_event" >

android:name=".PartnerHomeActivity"
android:label="@string/title_partner_home" >

android:name=".PartnerAccountActivity"
android:label="@string/title_partner_account" >

android:name="AddSpecialActivity"
android:label="@string/add_special_title"
android:screenOrientation="portrait" >

android:name=".PartnerLoginActivity"
android:label="Login" >

android:name=".PartnerSignupActivity"
android:label="Signup" >

android:name=".UserHomeActivity"
android:label="Specials" >

android:name=".ClubDetailsActivity"
android:label="Club Details" >

android:name=".SpecialDetailsActivity"
android:label="Specials Details" >

android:name=".EventDetailsActivity"
android:label="Event Details" >

android:name=".augmented.reality.ImageTargets"
android:label="ImageTargets" >

android:name=".augmented.reality.ImageTargetsRenderer"
android:label="ImageTargetsRenderer" >

android:name=".augmented.reality.DebugLog"
android:label="DebugLog" >

android:name=".augmented.reality.QCARSamgleGLView.java"
android:label="QCARSamgleGLView" >

Compiling errors

August 3, 2012 - 10:27am #5

Take a look at the permissions included in the Android manifests w/ the samples and copy these to the manifest for your project.

Compiling errors

August 3, 2012 - 10:18am #4

hi, im getting this error

 

E/MapActivity(1013): Couldn't get connection factory client

E/AR(1013): Error - failed to assert required Android permissions. Failed to initialize QCAR SDK. All required Android permissions must be included for the SDK to work.

E/QCAR(1013): InitQCARTask::onPostExecute: Failed to initialize AR Tab). Exiting.

Compiling errors

August 2, 2012 - 10:01am #3

Its working fine now, thanks.

Compiling errors

August 1, 2012 - 6:47pm #2

Have you confirmed that the QCAR shared libraries are in the ARM directories at that path? (i.e. /lib/armeabi )

 

 

Log in or register to post comments