我建了一个android工作室项目.我想在另一个项目中将它用作库.我遵循以下步骤:
这给了我.aar文件在build - > outputs - > aar - > myapp.aar
我在我的其他测试项目中导入了这个.aar文件.我按照以下步骤操作:
这在外部库中生成了一个名为myapp-unspecified的文件夹.我得到所有res文件,但我没有得到classes.jar中的类文件.在classes.jar里面我只有MANIFEST.MF.
我做错了什么或者我错过了什么?
在运行第三方php应用程序时,我收到此类警告:Warning: DOMNode::cloneNode(): ID mainBodyArea already defined in /libraries/content-extractor/ContentExtractor.php on line 676
接着是另一个警告:
Warning: Cannot modify header information - headers already sent by (output started at libraries/content-extractor/ContentExtractor.php:676) in libraries/feedwriter/FeedWriter.php on line 103
ContentExtractor.php中的行近676 ..
if (isset($this->body)) $this->body = $this->body->cloneNode(true);
$success = $this->readability->init();
Run Code Online (Sandbox Code Playgroud)
第103行附近的FeedWriter.php中的行
header('Content-type: application/json; charset=UTF-8');
$this->json = new stdClass();
Run Code Online (Sandbox Code Playgroud)
我被困在这里几个小时,因为如果这样.我是php概念的新手.请帮我.