stupidtrees / hita_x Goto Github PK
View Code? Open in Web Editor NEWHITA课表(HITSZ助手重构版)
HITA课表(HITSZ助手重构版)
自从「本研教学服务 App」上线了一段时间后,忽然某一天就无法导入课表和查询空课室了。
有可能是教务网的后台做了一些改动,使得功能无法正常工作。
希望能够修复或者找到 Workaround,感谢!
android 12 pixel3无法登录,任何涉及到登录和统一身份认知的操作都没有反应
java.lang.IndexOutOfBoundsException: Index 13 out of bounds for length 12
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.util.Objects.checkIndex(Objects.java:359)
at java.util.ArrayList.get(ArrayList.java:434)
at com.stupidtree.hitax.data.repository.EASRepository.startImportTimetableOfTerm$lambda-5$lambda-4(EASRepository.kt:208)
at com.stupidtree.hitax.data.repository.EASRepository.$r8$lambda$99-OXLZkfe6YRZp69z4J3jVUIXg(Unknown Source:0)
at com.stupidtree.hitax.data.repository.EASRepository$$ExternalSyntheticLambda3.run(Unknown Source:12)
at java.lang.Thread.run(Thread.java:1012)
尝试编译项目时,gradle 报告如下错误:
FAILURE: Build completed with 3 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':component:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR:/home/nuts/Downloads/HITA_X/component/build/intermediates/merged_res/release/values/values.xml:2465: AAPT: error: resource android:attr/lStar not found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':style:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR:/home/nuts/Downloads/HITA_X/style/build/intermediates/merged_res/release/values/values.xml:6276: AAPT: error: resource android:attr/lStar not found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sync:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR:/home/nuts/Downloads/HITA_X/sync/build/intermediates/merged_res/release/values/values.xml:6276: AAPT: error: resource android:attr/lStar not found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 15s
205 actionable tasks: 205 executed
具体表现为导出ics时错误。
在系统权限管理中没有看到有关权限的记录,可能是没有针对安卓11申请文件权限。
可否fix
无法登录
原版hitsz助手是可以在一个页面显示一周的所有课表的,HITA则不能显示晚上的课,需要下拉才能看到。
建议可自由调节时间轴比例
输入学号密码之后,点登录就提示该页面已过期,请重新登陆,导致没法导入课表
设备是小米
Configure project :app
ComposeOptions.kotlinCompilerVersion is deprecated. Compose now uses the kotlin compiler defined in your buildscript.
Configure project :sync
sync: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'androidx.room:room-compiler:2.3.0'.
Configure project :user
user: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'androidx.room:room-compiler:2.3.0'.
FAILURE: Build failed with an exception.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.