Wednesday, February 19, 2014

How to nginx packaged into apk


How to nginx packaged into apk, I want to use html to set up the site in a local client to achieve the effect, do not say so pointless
Can anyone tell how to do this successfully, then give points<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Some people have achieved this, so do not say it is impossible
Reply:
Their own roof bars
Reply:
Weekends are at rest do
Reply:
http://dl.dbank.com/c0ztgdx2b4
Reply:
I got an i-jetty source, who can help me explain each part of the structure and role of the next source
Reply:
Source structure is such that I want it to get inside eclipse, but do not know i-jetty-server is doing this:


Reply:
 05-26 14:12:50.360: I / Process (8736): Sending signal PID:. 8736 SIG: 9 
05-26 14:13:21.180: I / dalvikvm (8807): Failed resolving Lorg / mortbay / ijetty / log / AndroidLog; interface 147 'Lorg / eclipse / jetty / util / log / Logger;'
05-26 14:13:21.180: W / dalvikvm (8807): Link of class 'Lorg / mortbay / ijetty / log / AndroidLog;' failed
05-26 14:13:21.180: E / dalvikvm (8807): Could not find class 'org.mortbay.ijetty.log.AndroidLog', referenced from method org.mortbay.ijetty.IJetty
05-26 14:13:21.180: W / dalvikvm (8807): VFY: unable to resolve new-instance 197 (Lorg / mortbay / ijetty / log / AndroidLog ;) in Lorg / mortbay / ijetty / IJetty;
05-26 14:13:21.180: D / dalvikvm (8807): VFY: replacing opcode 0x22 at 0x001b
05-26 14:13:21.190: W / dalvikvm (8807): Exception Ljava / lang / NoClassDefFoundError; thrown while initializing Lorg / mortbay / ijetty / IJetty;
05-26 14:13:21.190: W / dalvikvm (8807): Class init failed in newInstance call (Lorg / mortbay / ijetty / IJetty ;)
05-26 14:13:21.190: D / AndroidRuntime (8807): Shutting down VM
05-26 14:13:21.190: W / dalvikvm (8807): threadid = 1: thread exiting with uncaught exception (group = 0x401c6760)
05-26 14:13:21.190: E / AndroidRuntime (8807): FATAL EXCEPTION: main
05-26 14:13:21.190: E / AndroidRuntime (8807): java.lang.ExceptionInInitializerError
05-26 14:13:21.190: E / AndroidRuntime (8807): at java.lang.Class.newInstanceImpl (Native Method)
05-26 14:13:21.190: E / AndroidRuntime (8807): at java.lang.Class.newInstance (Class.java: 1301)
05-26 14:13:21.190: E / AndroidRuntime (8807): at android.app.Instrumentation.newActivity (Instrumentation.java: 1022)
05-26 14:13:21.190: E / AndroidRuntime (8807): at android.app.ActivityThread.performLaunchActivity (ActivityThread.java: 1733)
05-26 14:13:21.190: E / AndroidRuntime (8807): at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java: 1834)
05-26 14:13:21.190: E / AndroidRuntime (8807): at android.app.ActivityThread.access $ 500 (ActivityThread.java: 122)
05-26 14:13:21.190: E / AndroidRuntime (8807): at android.app.ActivityThread $ H.handleMessage (ActivityThread.java: 1027)
05-26 14:13:21.190: E / AndroidRuntime (8807): at android.os.Handler.dispatchMessage (Handler.java: 99)
05-26 14:13:21.190: E / AndroidRuntime (8807): at android.os.Looper.loop (Looper.java: 132)
05-26 14:13:21.190: E / AndroidRuntime (8807): at android.app.ActivityThread.main (ActivityThread.java: 4126)
05-26 14:13:21.190: E / AndroidRuntime (8807): at java.lang.reflect.Method.invokeNative (Native Method)
05-26 14:13:21.190: E / AndroidRuntime (8807): at java.lang.reflect.Method.invoke (Method.java: 491)
05-26 14:13:21.190: E / AndroidRuntime (8807): at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java: 844)
05-26 14:13:21.190: E / AndroidRuntime (8807): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java: 602)
05-26 14:13:21.190: E / AndroidRuntime (8807): at dalvik.system.NativeStart.main (Native Method)
05-26 14:13:21.190: E / AndroidRuntime (8807): Caused by: java.lang.NoClassDefFoundError: org.mortbay.ijetty.log.AndroidLog
05-26 14:13:21.190: E / AndroidRuntime (8807): at org.mortbay.ijetty.IJetty . (IJetty.java: 309)
05-26 14:13:21.190: E / AndroidRuntime (8807): ... 15 more
05-26 14:13:23.230: I / dalvikvm (8807): threadid = 4: reacting to signal 3
05-26 14:13:23.230: I / dalvikvm (8807): Wrote stack traces to '/ data / anr / traces.txt'


I am now the i-jetty into eclipse inside source, you can also compiles, but can not find the time to run the program reported AndroidLog this class, but there is this class project, and have no idea why the newspaper this wrong

Reply:
Also encountered this problem, I wonder if the landlord does not solve

No comments:

Post a Comment