提交 a5b8bb8c 编写于 作者: T Takeya Yuki

Remove AAR

上级 013b854f
......@@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/RubyLibrary.iml" filepath="$PROJECT_DIR$/RubyLibrary.iml" />
<module fileurl="file://$PROJECT_DIR$/RubyLib.iml" filepath="$PROJECT_DIR$/RubyLib.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
<module fileurl="file://$PROJECT_DIR$/rubylib/rubylib.iml" filepath="$PROJECT_DIR$/rubylib/rubylib.iml" />
</modules>
......
......@@ -17,11 +17,6 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
repositories{
flatDir {
dirs "libs"
}
}
}
dependencies {
......@@ -29,7 +24,8 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile project(':rubylib')
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
compile(name:'rubylib-debug', ext:'aar')
}
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="jp.ruby.rubylibrary"
>
package="jp.ruby.rubylibrary">
<application android:allowBackup="true"
android:label="@string/app_name"
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_MEDIA_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/>
</manifest>
\ No newline at end of file
package jp.ruby.rubylibrary;
import yuki.control.extended.WebViewEx;
/**
* Created by Akeno on 2017/06/17.
*/
public class AAA {
WebViewEx a;
}
......@@ -25,7 +25,7 @@ public class StorageIOManager {
if(!D.exists()){
D.mkdirs();
}
if((!F.exists())) {
if(F.exists()) {
FileInputStream inputStream = new FileInputStream(F);
byte[] f=new byte[(int)inputStream.available()];
inputStream.read(f);
......@@ -36,6 +36,7 @@ public class StorageIOManager {
throw new FileNotFoundException();
}
}catch (Exception ex){
ex.printStackTrace();
if(error) {
throw ex;
}
......@@ -64,7 +65,7 @@ public class StorageIOManager {
F.setReadable(true);
}
}catch (Exception ex){
ex.printStackTrace();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册