Android plugin breaks when using receiver.

I’m trying to make a broadcast receiver to get data from my other application. The broadcast receiver was done in Java and works fine, when working just on Java. I made some dummy functions in it, to test that Unity can access the class and it can. Basically, whenever my sender sends the first message, the receiver crashes. My guess is that the problem is within the manifest, since I don’t know Unity and Android too well. Here is the code snippet for the receiver manifest:

 <receiver android:name="com.example.testing" >
                <action android:name="com.example.testing" ></action>

When I run it on my Android device, it gives me java.lang.RuntimeException: Unable to instantiate receiver “com.example.testing” on path DexPathList [[zip file “/data/apps/com.example.testing-2.apk”], nativeLibraryDirectories…
From what I understand the receiver android:name attribute is incorrect because when I change it, the error changes for the class I’m looking for. My class for the receiver in java is called MyReceiver, but that doesn’t work either. Thank you for your help.

In case anyone wonders, the problem was because my receiver was in default package, and the manifest has to point at the class, but if you are in default package and you write “MyReceiver” it still, for some reason thinks you are writing “.MyReceiver”. Solution: put MyReceiver in some package, then access it through “smth.MyReceiver”. Strangely, Eclipse manifest does not throw such errors. Possibly a Unity bug?