title: Xposed Not Loading my module, ClassNotFoundException
body: <p>I am developing an Xposed module, as an expansion of FatMinMin's <a href="http://repo.xposed.info/module/tw.fatminmin.xposed.minminhide" rel="nofollow">minminHide module</a> also it seems like a good dev exercise as well :) 
  The issue is that during boot when I check the xposed log i get the below:</p>
  
  <pre><code>5-04 17:06:44.305 I/Xposed  (581): Loading modules from /data/app/xposed.sudocode.com.sudohide-1/base.apk
  05-04 17:06:44.325 I/Xposed  (581):   Loading class xposed.sudocode.com.sudohide.XposedMain
  05-04 17:06:44.326 E/Xposed  (581): java.lang.ClassNotFoundException: Didn't find class "xposed.sudocode.com.sudohide.XposedMain" on path: DexPathList[[zip file "/data/app/xposed.sudocode.com.sudohide-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
  05-04 17:06:44.326 E/Xposed  (581):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
  05-04 17:06:44.326 E/Xposed  (581):     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
  05-04 17:06:44.326 E/Xposed  (581):     at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
  05-04 17:06:44.326 E/Xposed  (581):     at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:497)
  05-04 17:06:44.326 E/Xposed  (581):     at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:457)
  05-04 17:06:44.326 E/Xposed  (581):     at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:122)
  05-04 17:06:44.326 E/Xposed  (581):     Suppressed: java.lang.ClassNotFoundException: Didn't find class "xposed.sudocode.com.sudohide.XposedMain" on path: DexPathList[[zip file "/system/framework/XposedBridge.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
  05-04 17:06:44.326 E/Xposed  (581):         at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
  05-04 17:06:44.326 E/Xposed  (581):         at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
  05-04 17:06:44.326 E/Xposed  (581):         at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
  05-04 17:06:44.326 E/Xposed  (581):         ... 4 more
  05-04 17:06:44.326 E/Xposed  (581):         Suppressed: java.lang.ClassNotFoundException: xposed.sudocode.com.sudohide.XposedMain
  05-04 17:06:44.326 E/Xposed  (581):             at java.lang.Class.classForName(Native Method)
  05-04 17:06:44.326 E/Xposed  (581):             at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
  05-04 17:06:44.326 E/Xposed  (581):             at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
  05-04 17:06:44.326 E/Xposed  (581):             at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
  05-04 17:06:44.326 E/Xposed  (581):             ... 5 more
  05-04 17:06:44.326 E/Xposed  (581):         Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
  </code></pre>
  
  <p>which means that Xposed was not able to load my module properly </p>
  
  <p>In the xposed_init file  I have the following:</p>
  
  <pre><code>xposed.sudocode.com.sudohide.XposedMain
  </code></pre>
  
  <p>I also added the xposed bridge api in the dependency:</p>
  
  <pre><code>dependencies {
      provided files('libs/api-82.jar')
      compile 'com.android.support:appcompat-v7:23.3.0'
  }
  </code></pre>
  
  <p>This is The beginning of my Class java file:</p>
  
  <pre><code>package xposed.sudocode.com.sudohide;
  
  
  import android.content.pm.ApplicationInfo;
  import android.content.pm.PackageInfo;
  import android.content.pm.ResolveInfo;
  import android.os.Binder;
  
  import java.util.ArrayList;
  import java.util.List;
  
  import de.robv.android.xposed.IXposedHookLoadPackage;
  import de.robv.android.xposed.IXposedHookZygoteInit;
  import de.robv.android.xposed.XC_MethodHook;
  import de.robv.android.xposed.XSharedPreferences;
  import de.robv.android.xposed.XposedBridge;
  import de.robv.android.xposed.XposedHelpers;
  import de.robv.android.xposed.callbacks.XC_LoadPackage;
  
  public class XposedMain implements IXposedHookZygoteInit, IXposedHookLoadPackage {
  </code></pre>
  
  <p>Can anyone please provide any form of advice on how to proceed, I attempted to search for a solution but I could not find any, nor did I find anything in the xposed documentation</p>
  
  <p>Thanks!</p>