하아 이걸로 2주정도 잡아먹고 있네요. 


구글링하고 이거저거 나름 써보고 싶은대로도 써보고 했는데 안되요ㅠ


뭐해봤냐면 처음에 패키지명 두개써서 해보려고 어떻게어떻게 하다가 결국 안되서


태그 내에 패키지 풀네임 써서 하는 방법이 있다해서 그렇게 했는데 에러떠서 어떻게어떻게 잡으니 


돌아는 가는데 이런에러가 떠요. 


06-19 01:43:05.289: D/AndroidRuntime(18670): Shutting down VM

06-19 01:43:05.289: W/dalvikvm(18670): threadid=1: thread exiting with uncaught exception (group=0x40c531f8)

06-19 01:43:05.289: E/AndroidRuntime(18670): FATAL EXCEPTION: main

06-19 01:43:05.289: E/AndroidRuntime(18670): java.lang.RuntimeException: Unable to instantiate service com.example.android.softkeyboard: java.lang.ClassNotFoundException: com.example.android.softkeyboard

06-19 01:43:05.289: E/AndroidRuntime(18670): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2249)

06-19 01:43:05.289: E/AndroidRuntime(18670): at android.app.ActivityThread.access$1600(ActivityThread.java:127)

06-19 01:43:05.289: E/AndroidRuntime(18670): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)

06-19 01:43:05.289: E/AndroidRuntime(18670): at android.os.Handler.dispatchMessage(Handler.java:99)

06-19 01:43:05.289: E/AndroidRuntime(18670): at android.os.Looper.loop(Looper.java:137)

06-19 01:43:05.289: E/AndroidRuntime(18670): at android.app.ActivityThread.main(ActivityThread.java:4507)

06-19 01:43:05.289: E/AndroidRuntime(18670): at java.lang.reflect.Method.invokeNative(Native Method)

06-19 01:43:05.289: E/AndroidRuntime(18670): at java.lang.reflect.Method.invoke(Method.java:511)

06-19 01:43:05.289: E/AndroidRuntime(18670): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)

06-19 01:43:05.289: E/AndroidRuntime(18670): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)

06-19 01:43:05.289: E/AndroidRuntime(18670): at dalvik.system.NativeStart.main(Native Method)

06-19 01:43:05.289: E/AndroidRuntime(18670): Caused by: java.lang.ClassNotFoundException: com.example.android.softkeyboard

06-19 01:43:05.289: E/AndroidRuntime(18670): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)

06-19 01:43:05.289: E/AndroidRuntime(18670): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)

06-19 01:43:05.289: E/AndroidRuntime(18670): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)

06-19 01:43:05.289: E/AndroidRuntime(18670): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2246)


group=0x40c531f8 이게 뭔가 힌트가 될거 같아서 구글링 해봤는데 안나오더라구요. 분류되어있을텐데. .

클래스 자체를 못찾는거 보니 서비스 태그 안에 넣은 자체를 인식 못하는거 같은데. 매니패스트를 어떻게 써야하나요..

한다고 이거저거 다해봤는데 도저히 안되고 진전도 없어서 도움 청합니다ㅠㅠ 

앱 두개를 개별도 각각 돌리면 다 돌아가거든요. 근데 합치려니 문제네요. 고치고고쳐서 돌아는 가게 했는데

키보드 설정 에서 설정 누르는 순간 앱이 죽어버려요. . 여기에 따르면 패키지를 못찾아서 그러겠죠.

근데 웃긴게 설정란에는 왜 뜨는지..  줄도 안뜨고 그냥 저렇게만 딱 뜨고. 나머지는 안드로이드 안에 문제인ㅇ거 같은데

일단 소스는 문제가 없습니다. 개별로 돌리면 돌아가거든요. .


<?xml version="1.0" encoding="utf-8"?>

<!-- Copyright (C) 2009 The Android Open Source Project


     Licensed under the Apache License, Version 2.0 (the "License");

     you may not use this file except in compliance with the License.

     You may obtain a copy of the License at


          http://www.apache.org/licenses/LICENSE-2.0


     Unless required by applicable law or agreed to in writing, software

     distributed under the License is distributed on an "AS IS" BASIS,

     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

     See the License for the specific language governing permissions and

     limitations under the License.

-->

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

      package="com.example.android.BluetoothChat"

     

      android:versionCode="1"

      android:versionName="1.0">

    <uses-sdk minSdkVersion="6" />

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

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


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

                 android:icon="@drawable/app_icon" >

        <activity android:name=".BluetoothChat"

                  android:label="@string/app_name"

                  android:configChanges="orientation|keyboardHidden">

            <intent-filter>

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

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

            </intent-filter>

        </activity>

        <activity android:name=".DeviceListActivity"

                  android:label="@string/select_device"

                  android:theme="@android:style/Theme.Dialog"

                  android:configChanges="orientation|keyboardHidden" />

        

        

        <service android:enabled="true" android:name="com.example.android.softkeyboard"                

                 android:permission="android.permission.BIND_INPUT_METHOD">

            

            <intent-filter>

                <action android:name="android.view.InputMethod" />

            </intent-filter>

            <meta-data android:name="android.view.im" android:resource="@xml/method" />

            

        </service>

        

        

    </application>

</manifest>


이게 현재 매니패스트구요. 보시면 아시겠지만 블루투스 랑 키보드 앱을 섞고 있습니다. 

도와주세요 형님들..ㅠ 저 울고있어요..ㅠㅠ