1

我使用 apportable 编译了我的应用程序。但是,在设备上运行时,它只显示黑屏,我尝试过清理、重置……等等。但运气不好,它只显示黑屏,该项目是使用 XCode 5 完成的,在 opengl 选择期间我尝试了 OpenGLES1/2(只是以防万一),但是根本没有运气。这是适当的调试必须说的:

警告:断点地址从 0x40181b79 调整为 0x40181b78。

epoll_wait()中的0x401e5408

来自 /Users/pabloivan57/.apportable/cache/devices/015d2ea4ce4c2208/libs/libc.so

$1 = 0

0x6b7b01ac 处的断点 1:文件 /Users/pabloivan57/Documents/Scopic Projects/Debrief/svn/Debrief/Debrief/main.m,第 3 行。

0x62acf7b0 处的断点 2

[新线程25402]

[切换到线程 25402]

断点 1,main (argc=0, argv=0x6b629c08 <_start_method>)

at /Users/pabloivan57/Documents/Projects/Deb/svn/Deb/Deb/main.m:3

3 int main(int argc, char *argv[]) {

和清单:

      package="com.gcap.debrief"

      android:sharedUserId="com.gcap.debrief"

      android:installLocation="auto"

      android:versionCode="1387670144"

      android:versionName="1.0">

<supports-gl-texture android:name="GL_OES_compressed_ETC1_RGB8_texture" />

<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="17" />

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

<uses-permission android:name="com.android.vending.BILLING" />

<supports-screens android:resizeable="true" android:normalScreens="true" android:largeScreens="true" android:smallScreens="false"/>

<application android:label="@string/app_name"

             android:name="com.apportable.app.VerdeApplication"

             android:hasCode="true"

             android:icon="@drawable/icon"

             android:theme="@style/FullScreenActivity"

             android:debuggable="true"

             android:largeHeap="false"

             android:hardwareAccelerated="false"><meta-data android:name="android.app.libs" android:value="v cxx System objc pthread_workqueue dispatch ffi Foundation freetype CoreGraphics BridgeKit CoreText OpenAL verde" />

    <meta-data android:name="android.app.lib_name" android:value="verde" />

    <meta-data android:name="android.app_name" android:value="Debrief" />

    <meta-data android:name="apportable.splash_screen_type" android:value="letterbox" />

    <meta-data android:name="apportable.orientation" android:value="portrait" />

    <meta-data android:name="apportable.opengles2" android:value="true" />

    <meta-data android:name="apportable.opengles.fast_color" android:value="true" />

    <meta-data android:name="apportable.abi_list" android:value="" />

    <activity android:name="com.apportable.activity.VerdeActivity"

              android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize"

              android:label="@string/app_name"

              android:screenOrientation="portrait"

              android:windowSoftInputMode="adjustPan"

              android:launchMode="singleTask">

        <intent-filter>

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

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

        </intent-filter>

    </activity>

    <service android:enabled="true" android:name="com.apportable.activity.GdbServerService"

        android:label="@string/app_name" android:icon="@drawable/icon">

        <intent-filter >

            <action android:name="com.gcap.debrief.GdbServerService" />

        </intent-filter>

    </service>

    <service android:name="com.apportable.media.AudioManagerService" android:exported="false" />

    <service android:name="com.apportable.iap.BillingService" />

    <receiver android:name="com.apportable.iap.BillingReceiver">

        <intent-filter>

            <action android:name="com.android.vending.billing.IN_APP_NOTIFY" />

            <action android:name="com.android.vending.billing.RESPONSE_CODE" />

            <action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />

        </intent-filter>

    </receiver>

</application>

如果您需要其他任何东西,请告诉我,非常感谢您的帮助。

谢谢

4

1 回答 1

0

Apportable 还不支持 xcode 5 xibs。它们需要以xcode 4 格式保存此Apporable 讨论线程中的更多背景信息。

如果仍然看到白屏,请在出现白屏后发布 adb logcat 的尾部。

于 2014-01-05T18:59:31.037 回答