That Works!! Thanks a lot !! P.S. I just seen the jni folder in the repo,maybe mistakenly believed it IS. sorry for that.
在 2015年6月19日星期五 UTC+8上午3:36:15,pfn写道: > > KeepShare doesn't have any jni > > On Thu, Jun 18, 2015, 12:35 PM Yang Song <yson...@gmail.com <javascript:>> > wrote: > >> thanks for reply ! will have a try right now. >> >> but in your keepshare app [https://github.com/pfn/keepshare], I see that >> the src/main/libs folder contains only jar files. >> >> 在 2015年6月19日星期五 UTC+8上午3:27:08,pfn写道: >>> >>> Oh, sorry, it's src/main/libs >>> >>> On Thu, Jun 18, 2015, 12:16 PM Perry Nguyen <pfng...@gmail.com> wrote: >>> >> src/main/jniLibs >>>> >>>> On Thu, Jun 18, 2015 at 12:17 PM Yang Song <yson...@gmail.com> wrote: >>>> >>> Hi , >>>>> when using android-sdk-plugin on a new android sbt project, the *.so >>>>> not copyed to apk file. >>>>> >>>>> my src folder is src/main/jni/armeabi/xxx.so, also tried >>>>> src/main/jniLibs, not work. >>>>> >>>>> :( >>>>> >>>>> Any one help ? Many thanks!!!!!! >>>>> >>>>> >>>>> here is my project structure: >>>>> >>>>> project -> >>>>> build.sbt >>>>> src -> >>>>> main -> >>>>> jni -> armeabi -> xxx.so >>>>> java >>>>> scala >>>>> >>>>> and there is nothing special in my build file: >>>>> >>>>> import android.Keys._ >>>>> name := "scratchapp" >>>>> minSdkVersion in Android := "17" >>>>> targetSdkVersion in Android := "21" >>>>> platformTarget in Android := "android-21" >>>>> javacOptions in Global ++= "-target" :: "1.7" :: "-source" :: "1.7" :: >>>>> Nil >>>>> scalacOptions in Global += "-feature" >>>>> scalaVersion in Global := "2.11.6" >>>>> retrolambdaEnable in Android := false >>>>> debugIncludesTests in Android := false >>>>> useProguard in Android := false >>>>> useProguardInDebug in Android := false >>>>> proguardScala in Android := false >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "scala-on-android" group. >>>>> >>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to scala-on-andro...@googlegroups.com. >>>> >>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >> You received this message because you are subscribed to the Google Groups >> "scala-on-android" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to scala-on-andro...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "scala-on-android" group. To unsubscribe from this group and stop receiving emails from it, send an email to scala-on-android+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.