啊。JNI代码更正如下#include <string.h>
#include <jni.h>
#include "properties.h"
     
jint Java_mobile_chgper_ChgperActivity_startPerService(JNIEnv* env,jobject thiz){   
    return (jint)property_set("ctl.start","perop");
}
 
jint Java_mobile_chgper_ChgperActivity_stopPerService(JNIEnv* env,jobject thiz){
    return (jint)property_set("ctl.stop","perop");
}调试的结果是:init: sys_prop: Unable to start service ctl [perop]