[One (M8) Android Development] yasars:
[MENTION=5796042]LinhPhi9x94[/MENTION]

can you help me??

Checking patch out/framework/smali/android/app/AppOpsManager.smali...
error: while searching for:

aput-object v3, v1, v2

sput-object v1, Landroid/app/AppOpsManager;->sOpToString:[Ljava/lang/String;

new-array v1, v5, [Ljava/lang/String;

error: patch failed: out/framework/smali/android/app/AppOpsManager.smali:663
error: while searching for:

aput-object v3, v1, v2

sput-object v1, Landroid/app/AppOpsManager;->sOpNames:[Ljava/lang/String;

new-array v1, v5, [Ljava/lang/String;

error: patch failed: out/framework/smali/android/app/AppOpsManager.smali:1039
error: while searching for:

aput-object v3, v1, v2

sput-object v1, Landroid/app/AppOpsManager;->sOpPerms:[Ljava/lang/String;

new-array v1, v5, [Ljava/lang/String;

error: patch failed: out/framework/smali/android/app/AppOpsManager.smali:1359
error: while searching for:

aput-object v4, v1, v2

sput-object v1, Landroid/app/AppOpsManager;->sOpRestrictions:[Ljava/lang/String;

new-array v1, v5, [Z

error: patch failed: out/framework/smali/android/app/AppOpsManager.smali:1665
error: while searching for:
0x3c
0x3d
0x3e
.end array-data

:array_1

error: patch failed: out/framework/smali/android/app/AppOpsManager.smali:2185
Applying patch out/framework/smali/android/app/AppOpsManager.smali with 5 rejects...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Rejected hunk #3.
Rejected hunk #4.
Rejected hunk #5.
Rejected hunk #6.
Rejected hunk #7.

+++++++++++
+ Summary +
+++++++++++
+ Following patches are rejected and merge is required.
./framework/smali/android/app/AppOpsManager.smali.rej
+ Apply patch successfully!
find: illegal option -- n
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
/Users/Yasar/android-sdk/patchrom/tools/apktool --quiet b out/framework -o out/framework.jar
Exception in thread "main" brut.androlib.AndrolibException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:129)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:69)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:376)
at brut.androlib.Androlib.buildSources(Androlib.java:335)
at brut.androlib.Androlib.build(Androlib.java:292)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:124)
... 7 more
Caused by: java.lang.NullPointerException
at org.jf.dexlib2.writer.pool.PoolClassDef.<init>(PoolClassDef.java:59)
at org.jf.dexlib2.writer.pool.ClassPool.intern(ClassPool.java:88)
at brut.androlib.src.SmaliBuilder$1.call(SmaliBuilder.java:116)
at brut.androlib.src.SmaliBuilder$1.call(SmaliBuilder.java:94)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

java version "1.8.0_102"

Java(TM) SE Runtime Environment (build 1.8.0_102-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)